Skip to content

Commit

Permalink
Merge pull request mindoc-org#794 from Go-Go-Farther/master
Browse files Browse the repository at this point in the history
bugfix: 管理后台获取标签列表时,template的range动作使得dot的值变为了element,.Lang访问不到问题修复。
  • Loading branch information
gsw945 authored Jun 9, 2022
2 parents 8d92550 + db5e853 commit edc9629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/manager/label_list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
<td>{{$item.LabelName}}</td>
<td>{{$item.BookNumber}}</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>
<a href="{{urlfor "LabelController.Index" ":key" $item.LabelName}}" class="btn btn-success btn-sm" target="_blank">{{i18n .Lang "common.detail"}}</a>
<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>

</td>
</tr>
Expand Down

0 comments on commit edc9629

Please sign in to comment.