@model TightWiki.Models.ViewModels.Admin.DeletedPagesRevisionsViewModel @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."); }
Page revision that have been deleted for the given page. These can be purged or restored.
| Revision | Deleted Date | Deleted By | Action |
| @p.Revision | @p.DeletedDate | @p.DeletedByUserName | @Html.Raw(TightWiki.Library.ConfirmActionHelper.GenerateSafeLink(GlobalConfiguration.BasePath, "This will restore the deleted page and all of its history. Continue?", "Restore", $"/Admin/RestoreDeletedPageRevision/{p.Id}/{p.Revision}", Context.Request.Path.Value)) @Html.Raw(TightWiki.Library.ConfirmActionHelper.GenerateDangerLink(GlobalConfiguration.BasePath, "This will permanently delete the specified page, all revisions and attachments. Continue?", "Purge", $"/Admin/PurgeDeletedPageRevision/{p.Id}/{p.Revision}", Context.Request.Path.Value)) |