diff options
| author | Michael <[email protected]> | 2017-03-20 16:45:17 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-03-20 16:45:17 -0400 |
| commit | cdc61eb4ea5309769ad4db84d92594e4dc3dff67 (patch) | |
| tree | a8297a7aecc4376f07a497a5e02ab5ff165bfbd3 /Project-Unite/Views/Moderator/Logs.cshtml | |
| parent | d9f475e1f33bbf39ca0d79d7a6b0c2fd501b4f2d (diff) | |
| download | project-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.tar.gz project-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.tar.bz2 project-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.zip | |
Initial commit (azure deploy test)
Diffstat (limited to 'Project-Unite/Views/Moderator/Logs.cshtml')
| -rw-r--r-- | Project-Unite/Views/Moderator/Logs.cshtml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Project-Unite/Views/Moderator/Logs.cshtml b/Project-Unite/Views/Moderator/Logs.cshtml new file mode 100644 index 0000000..bf3ed4d --- /dev/null +++ b/Project-Unite/Views/Moderator/Logs.cshtml @@ -0,0 +1,25 @@ +@model IEnumerable<Project_Unite.Models.AuditLog> +@{ + ViewBag.Moderator = true; + ViewBag.Title = "Audit logs"; +} + +<h2>Moderator audit logs</h2> + +<p>Below is a list of all actions carried out by moderators and users that can be reviewed as evidence when investigating a guideline break.</p> + +<table class="table"> + <tr> + <th style="width:65%">Action</th> + <th>User & Timestamp</th> + <th>Level</th> + </tr> + @foreach(var i in Model.OrderByDescending(x=>x.Timestamp)) + { + <tr> + <td>@i.Description</td> + <td>@Html.UserLink(i.UserId) at @i.Timestamp</td> + <td>@i.Level</td> + </tr> + } +</table>
\ No newline at end of file |
