From cdc61eb4ea5309769ad4db84d92594e4dc3dff67 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 20 Mar 2017 16:45:17 -0400 Subject: Initial commit (azure deploy test) --- Project-Unite/Views/Admin/Users.cshtml | 45 ++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Project-Unite/Views/Admin/Users.cshtml (limited to 'Project-Unite/Views/Admin/Users.cshtml') diff --git a/Project-Unite/Views/Admin/Users.cshtml b/Project-Unite/Views/Admin/Users.cshtml new file mode 100644 index 0000000..a9830c5 --- /dev/null +++ b/Project-Unite/Views/Admin/Users.cshtml @@ -0,0 +1,45 @@ +@model IEnumerable +@{ + ViewBag.Admin = true; + ViewBag.Title = "Users"; +} + +

Users

+ +

Below is a list of all users in the database.

+ + + + + + + @foreach (var user in Model) + { + + + + + } +
UserActions
@Html.UserLink(user.Id) + + @Html.ActionLink("User details", "UserDetails", "Moderator", new { id = user.DisplayName }, new { @class = "btn btn-default" }) + @if (ACL.Granted(User.Identity.Name, "CanAnonymizeUser")) + { + Anonymize this user + + } +
\ No newline at end of file -- cgit v1.2.3