yavsc/src/Yavsc/Views/Account/UserList.cshtml

68 lines
1.4 KiB
Text
Raw Normal View History

2017-05-27 16:22:25 +02:00
@model ApplicationUser[]
@{
ViewData["Title"] = "Liste des utilisateurs";
}
<h2>@ViewData["Title"].</h2>
2018-08-01 10:55:52 +02:00
<table>
<thead>
<th>
2023-03-20 09:13:16 +00:00
Public info"]
2018-08-01 10:55:52 +02:00
</th>
<th>
2023-03-20 09:13:16 +00:00
AdminOnly"]
2018-08-01 10:55:52 +02:00
</th>
</thead>
@foreach (var user in Model)
{
<tr>
<td>
@Html.DisplayFor(m=>user)
</td>
<td>
<dl>
<dt>
UserName
</dt>
<dd>
@Html.DisplayFor(m=>user.UserName)
</dd>
</dl>
<dl>
<dt>
FullName
</dt>
<dd>
@Html.DisplayFor(m=>user.FullName)
</dd>
</dl>
<dl>
<dt>
2023-03-20 09:13:16 +00:00
PostalAddress"]
2018-08-01 10:55:52 +02:00
</dt>
<dd>
@Html.DisplayFor(m=>user.PostalAddress)
</dd>
</dl>
<dl>
<dt>
Email
</dt>
<dd>
@Html.DisplayFor(m=>user.Email)
@if (!user.EmailConfirmed) {
<a asp-action="AdminSendConfirationEmail" asp-route-id="@user.Id" >Envoyer une demande de confirmation</a>
}
<a asp-action="AdminDelete" asp-route-id="@user.Id" >Supprimer</a>
2018-08-01 10:55:52 +02:00
</dd>
</dl>
</td>
</tr>
}
</table>
2017-05-27 16:22:25 +02:00
2018-08-01 10:55:52 +02:00
@if (ViewBag.hasNext)
{
<a asp-route-page="@ViewBag.nextpage" asp-route-len="@ViewBag.pageLen">Next page</a>
2023-03-20 09:13:16 +00:00
}