mirror of https://github.com/mindoc-org/mindoc.git
bugfix: 管理后台获取标签列表时,template的range动作使得dot的值变为了element,.Lang访问不到问题修复。
parent
8d92550458
commit
db5e853c28
|
@ -49,8 +49,8 @@
|
||||||
<td>{{$item.LabelName}}</td>
|
<td>{{$item.LabelName}}</td>
|
||||||
<td>{{$item.BookNumber}}</td>
|
<td>{{$item.BookNumber}}</td>
|
||||||
<td>
|
<td>
|
||||||
<button type="button" data-method="delete" class="btn btn-danger btn-sm" data-id="{{$item.LabelId}}" data-loading-text="{{i18n .Lang "message.processing"}}">{{i18n .Lang "common.delete"}}</button>
|
<button type="button" data-method="delete" class="btn btn-danger btn-sm" data-id="{{$item.LabelId}}" data-loading-text="{{i18n $.Lang "message.processing"}}">{{i18n $.Lang "common.delete"}}</button>
|
||||||
<a href="{{urlfor "LabelController.Index" ":key" $item.LabelName}}" class="btn btn-success btn-sm" target="_blank">{{i18n .Lang "common.detail"}}</a>
|
<a href="{{urlfor "LabelController.Index" ":key" $item.LabelName}}" class="btn btn-success btn-sm" target="_blank">{{i18n $.Lang "common.detail"}}</a>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue