Added the User Email field to the List

Added the formatted email address of the user to the list view.
This commit is contained in:
Leigh Pointer 2022-05-05 13:25:35 +02:00
parent e89257be62
commit 2767680bed

View File

@ -38,6 +38,7 @@ else
<th style="width: 1px;">&nbsp;</th>
<th>@SharedLocalizer["Name"]</th>
<th>@SharedLocalizer["Username"]</th>
<th>@SharedLocalizer["Email"]</th>
<th>@Localizer["LastLoginOn"]</th>
<th>@Localizer["LastIPAddress"]</th>
<th>@Localizer["CreatedOn"]</th>
@ -54,6 +55,7 @@ else
</td>
<td>@context.User.DisplayName</td>
<td>@context.User.Username</td>
<td>@((MarkupString)string.Format("<a href=\"mailto:{0}\">{0}</a>", @context.User.Email))</td>
<td>@string.Format("{0:dd-MMM-yyyy HH:mm:ss}",context.User.LastLoginOn)</td>
<td>@context.User.LastIPAddress</td>
<td>@string.Format("{0:dd-MMM-yyyy HH:mm:ss}",context.User.CreatedOn)</td>