@using TightWiki.Models @model TightWiki.Models.ViewModels.File.PageFileRevisionsViewModel @{ Layout = "/Views/Shared/_Layout.cshtml"; var sessionState = ViewData["SessionState"] as TightWiki.SessionState ?? throw new Exception("Wiki State Context cannot be null."); }

Page File Revisions

All changes that have been made to the attached file.

@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}" })) { @foreach (var h in Model.Revisions) { }
Revision Modified By Modified Date Summary
@Html.DisplayTextFor(x => h.FileRevision) @Html.DisplayTextFor(x => h.CreatedByUserName) @Html.DisplayTextFor(x => h.CreatedDate) @Html.DisplayTextFor(x => h.FriendlySize)
@Html.Raw(TightWiki.Library.PageSelectorGenerator.Generate(Context.Request.QueryString, Model.PaginationPageCount)) }