Display roles

This commit is contained in:
2016-06-25 21:08:10 +02:00
parent 1b9abcb69a
commit 5b3ed5f5ff
2 changed files with 7 additions and 0 deletions

View File

@ -16,6 +16,11 @@
[<a asp-controller="Manage"
asp-action="CHUN">@SR["Change"]</a>]
</dd>
@if (Model.Roles.Count()>0) {
<dt>@SR["Roles"]:</dt>
<dd>
@string.Join(", ",Model.Roles)
</dd>}
<dt>@SR["Password"]:</dt>
<dd>[@if (Model.HasPassword)
{<a asp-controller="Manage"