Add the Username to the display.

When looking through Users and Roles it would seem ideal to also show the username.
This commit is contained in:
Leigh Pointer
2022-01-21 09:36:32 +01:00
parent 1fbab5db2b
commit 6a99e81e75
3 changed files with 5 additions and 1 deletions

View File

@ -36,6 +36,7 @@ else
<th style="width: 1px;">&nbsp;</th>
<th style="width: 1px;">&nbsp;</th>
<th>@SharedLocalizer["Name"]</th>
<th>@SharedLocalizer["Username"]</th>
</Header>
<Row>
<td>
@ -48,6 +49,7 @@ else
<ActionLink Action="Roles" Parameters="@($"id=" + context.UserId.ToString())" ResourceKey="Roles" />
</td>
<td>@context.User.DisplayName</td>
<td>@context.User.Username</td>
</Row>
</Pager>
</TabPanel>