blob: b352d53a4b0fdf845a77089930cb3e32feb1ba4e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
@model IEnumerable<Project_Unite.Models.ApplicationUser>
@{
ViewBag.Moderator = true;
ViewBag.Title = "Users";
}
<h2>Users</h2>
<p>Below is a list of all users in the database.</p>
<table class="table">
<tr>
<th style="width:85%">User</th>
<th>Actions</th>
</tr>
@foreach (var user in Model)
{
<tr>
<td>@Html.UserLink(user.Id)</td>
<td>
@Html.ActionLink("User details", "UserDetails", "Moderator", new { id = user.DisplayName }, new { @class = "btn btn-default" })
</td>
</tr>
}
</table>
|