closes #699, closes #707, closes #711, closes #720;修复文档历史查看模板bug

pull/726/head
gsw945 2021-09-09 14:43:54 +08:00
parent 2ede417d40
commit 482305becd
1 changed files with 5 additions and 5 deletions

View File

@ -46,15 +46,15 @@
<td>{{$item.ModifyName}}</td>
<td>{{$item.Version}}</td>
<td>
<button class="btn btn-danger btn-sm delete-btn" data-id="{{$item.HistoryId}}" data-loading-text="{{i18n .Lang "message.processing"}}">
{{i18n .Lang "doc.delete"}}
<button class="btn btn-danger btn-sm delete-btn" data-id="{{$item.HistoryId}}" data-loading-text="{{i18n $.Lang "message.processing"}}">
{{i18n $.Lang "doc.delete"}}
</button>
<button class="btn btn-success btn-sm restore-btn" data-id="{{$item.HistoryId}}" data-loading-text="{{i18n .Lang "message.processing"}}">
{{i18n .Lang "doc.recover"}}
<button class="btn btn-success btn-sm restore-btn" data-id="{{$item.HistoryId}}" data-loading-text="{{i18n $.Lang "message.processing"}}">
{{i18n $.Lang "doc.recover"}}
</button>
{{if eq $.Model.Editor "markdown"}}
<button class="btn btn-success btn-sm compare-btn" data-id="{{$item.HistoryId}}">
{{i18n .Lang "doc.merge"}}
{{i18n $.Lang "doc.merge"}}
</button>
{{end}}
</td>