@model TightWiki.Models.ViewModels.Admin.PageRevisionsViewModel @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 changes that have been made to the page.
| Revision | Modified By | Modified Date | Summary | Action |
| @Html.DisplayTextFor(x => h.Revision) | @Html.DisplayTextFor(x => h.ModifiedByUserName) | @Html.DisplayTextFor(x => h.ModifiedDate) | @Html.DisplayTextFor(x => h.ChangeSummary) |
@Html.Raw(TightWiki.Library.ConfirmActionHelper.GenerateWarnLink(GlobalConfiguration.BasePath,
$"Reverting {h.Name} from revision {h.HighestRevision} to {h.Revision} will rollback {h.HigherRevisionCount} changes. " + "Reverting does not mean that changes will be lost however, the revert process will create a new revision with the reverted changes. " + "Are you sure you want to continue? ", "Revert", $"/Admin/RevertPageRevision/{h.Navigation}/{h.Revision}", Context.Request.Path.Value)) @Html.Raw(TightWiki.Library.ConfirmActionHelper.GenerateDangerLink(GlobalConfiguration.BasePath, $"Deleting revision {h.Revision} of \"{h.Name}\" will move the page revision to the deletion queue. This action can only be undone by an administrator or moderator. Continue?", "Delete", $"/Admin/DeletePageRevision/{h.Navigation}/{h.Revision}", Context.Request.Path.Value)) |