mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 17:22:15 +00:00
Edit attributions.
This commit is contained in:
parent
1675a18905
commit
946fc67bb9
1 changed files with 5 additions and 1 deletions
|
@ -52,10 +52,14 @@
|
|||
|
||||
<div class="col-xs-8 panel">
|
||||
<div class="panel-body">
|
||||
@if(Model.Page != null)
|
||||
@if (Model.Page != null)
|
||||
{
|
||||
<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>
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue