31 lines
727 B
Plaintext
31 lines
727 B
Plaintext
@page
|
|
@model maintenance.Pages.Admin.Templates.IndexModel
|
|
@{
|
|
ViewData["Title"] = "Templates";
|
|
}
|
|
|
|
<h1>Templates</h1>
|
|
<p>Manage error template content used by user-facing pages.</p>
|
|
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Title</th>
|
|
<th>Updated</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in Model.Templates)
|
|
{
|
|
<tr>
|
|
<td>@item.Name</td>
|
|
<td>@item.Title</td>
|
|
<td>@item.LastUpdatedAtUtc.ToString("u")</td>
|
|
<td><a asp-page="./Edit" asp-route-id="@item.Id">Edit</a></td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|