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"> <Pager Items="@userroles">
<Header> <Header>
<th>@Localizer["Users"]</th> <th>@Localizer["Users"]</th>
<th>@SharedLocalizer["Username"]</th>
<th>@Localizer["Effective"]</th> <th>@Localizer["Effective"]</th>
<th>@Localizer["Expiry"]</th> <th>@Localizer["Expiry"]</th>
<th>&nbsp;</th> <th>&nbsp;</th>
</Header> </Header>
<Row> <Row>
<td>@context.User.DisplayName</td> <td>@context.User.DisplayName</td>
<td>@context.User.Username</td>
<td>@context.EffectiveDate</td> <td>@context.EffectiveDate</td>
<td>@context.ExpiryDate</td> <td>@context.ExpiryDate</td>
<td> <td>

View File

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

View File

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