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

@ -53,12 +53,14 @@ else
<Pager Items="@userroles">
<Header>
<th>@Localizer["Users"]</th>
<th>@SharedLocalizer["Username"]</th>
<th>@Localizer["Effective"]</th>
<th>@Localizer["Expiry"]</th>
<th>&nbsp;</th>
</Header>
<Row>
<td>@context.User.DisplayName</td>
<td>@context.User.Username</td>
<td>@context.EffectiveDate</td>
<td>@context.ExpiryDate</td>
<td>

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>

View File

@ -259,7 +259,7 @@
<value>Upgrade</value>
</data>
<data name="Username" xml:space="preserve">
<value>Username:</value>
<value>Username</value>
</data>
<data name="Version" xml:space="preserve">
<value>Version</value>