feat:增加文章阅读页编辑按钮

pull/358/head v1.0
lifei6671 2018-09-18 11:18:58 +08:00
parent b8c297015e
commit 4d59df6d57
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@
<div class="item">{{.Model.ModifyRealName}}</div>
<div class="item">修改于</div>
<div class="item">{{date .Model.Modified "Y-m-d H:i:s"}}</div>
{{if eq .Member.MemberId .Model.MemberId}}
<div class="item"><a href='{{urlfor "BlogController.ManageEdit" ":id" .Model.BlogId}}' title="文章编辑"><i class="fa fa-edit"></i> 编辑</a></div>
{{end}}
</div>
</div>
<div class="row">