@model TightWiki.Models.ViewModels.Admin.PagesViewModel @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."); }
All pages contained in the wiki.
| Name | Revision | Deleted Revisions | Modified By | Modified Date | Action |
|
@if (string.IsNullOrEmpty(@p.Namespace) == false)
{
|
@p.Revision | @p.DeletedRevisionCount | @p.ModifiedByUserName | @p.ModifiedDate | @Html.Raw(ConfirmActionHelper.GenerateDangerLink(GlobalConfiguration.BasePath, $"Deleting \"{p.Name}\" will move the page, all {p.Revision} revisions and associated file attachments to the deletion queue. This action can only be undone by an administrator or moderator. Continue?", "Delete", "/Admin/DeletePage/" + @p.Id, Context.Request.Path.Value)) |