Edit attributions.

This commit is contained in:
Michael 2017-04-06 15:48:25 -04:00
parent 1675a18905
commit 946fc67bb9

View file

@ -56,6 +56,10 @@
{ {
<h1>@Model.Page.Name</h1> <h1>@Model.Page.Name</h1>
var edit = Model.Page.EditHistory.First();
<p><strong>Last edited by @Html.UserLink(edit.UserId) on @edit.EditedAt</strong></p>
<p>@Html.Markdown(Model.Page.Contents)</p> <p>@Html.Markdown(Model.Page.Contents)</p>
} }
else else