@model TightWiki.Models.ViewModels.Admin.MissingPagesViewModel
@using TightWiki.Library
@using TightWiki.Models
@{
Layout = "/Views/Shared/_Layout.cshtml";
var sessionState = ViewData["SessionState"] as TightWiki.SessionState ?? throw new Exception("Wiki State Context cannot be null.");
}
Missing Pages
Pages that have been linked to, but do not exist.
@if (!string.IsNullOrEmpty(Model.ErrorMessage))
{
@Html.Raw(Model.ErrorMessage)
}
@if (!string.IsNullOrEmpty(Model.SuccessMessage))
{
@Html.Raw(Model.SuccessMessage)
}
@using (Html.BeginForm(null, null, FormMethod.Get, new { action = $"{GlobalConfiguration.BasePath}{Context.Request.Path}" }))
{
@if (Model.Pages.Count > 0)
{
@Html.Raw(TightWiki.Library.PageSelectorGenerator.Generate(Context.Request.QueryString, Model.PaginationPageCount))
}
else
{
There are currently no missing pages being referenced by other wiki pages.
}
}
|