1、实现文章阅读、附件功能

2、实现与关联项目同步功能
3、实现附件删除功能
This commit is contained in:
lifei6671
2018-07-18 17:10:24 +08:00
parent 86637ef581
commit 2416af4528
15 changed files with 653 additions and 31 deletions

View File

@@ -28,16 +28,17 @@
<strong class="search-title">显示标签列表</strong>
</div>
<div class="row">
{{if gt (.Labels|len) 0}}
<div class="hide tag-container-outer" style="border: 0;margin-top: 0;padding: 5px 15px;min-height: 200px;">
<span class="tags">
{{range $index,$item := .Labels}}
<a href="{{urlfor "LabelController.Index" ":key" $item.LabelName}}">{{$item.LabelName}}<span class="detail">{{$item.BookNumber}}</span></a>
{{else}}
<div class="text-center">暂无标签</div>
{{end}}
</span>
</div>
{{end}}
<nav class="pagination-container">
{{if gt .TotalPages 1}}
{{.PageHtml}}