@model TightWiki.Models.ViewModels.Admin.DeletedPagesViewModel @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."); }
Pages that have been deleted. Can be purged or restored.
| Page | Action |
|
@if (string.IsNullOrEmpty(@p.Namespace) == false)
{
|
@Html.Raw(TightWiki.Library.ConfirmActionHelper.GenerateSafeLink(GlobalConfiguration.BasePath, "This will restore the deleted page and all of its history. Continue?", "Restore", "/Admin/RestoreDeletedPage/" + @p.Id, 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/PurgeDeletedPage/" + @p.Id, Context.Request.Path.Value)) |