@page @model maintenance.Pages.Admin.Templates.IndexModel @{ ViewData["Title"] = "Templates"; }
Create and schedule maintenance/error pages while keeping the visual template fixed.
@if (!string.IsNullOrWhiteSpace(Model.StatusMessage)) {| Key | Stub | Kind | Default | Enabled | Window | Updated | |
|---|---|---|---|---|---|---|---|
| @item.Key | @(string.IsNullOrWhiteSpace(item.Stub) ? "-" : item.Stub) | @item.PageKind | @item.IsDefaultFallback | @item.IsEnabled | @(item.StartUtc?.ToString("u") ?? "-") to @(item.EndUtc?.ToString("u") ?? "-") | @item.LastUpdatedAtUtc.ToString("u") |
Edit |
Preview
@if (!item.IsDefaultFallback)
{
|