mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-24 01:49:10 +08:00
User
refactor and update i18n, to be continue
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
{{if gt .Member.MemberId 0}}
|
||||
{{if eq .Model.RoleId 0 1 2}}
|
||||
<div class="dropdown pull-left" style="margin-right: 10px;">
|
||||
<a href="{{urlfor "DocumentController.Edit" ":key" .Model.Identify ":id" ""}}" class="btn btn-default"><i class="fa fa-edit" aria-hidden="true"></i> {{i18n .Lang "blog.edit"}}</a>
|
||||
<a href="{{urlfor "DocumentController.Edit" ":key" .Model.Identify ":id" ""}}" class="btn btn-danger"><i class="fa fa-edit" aria-hidden="true"></i> {{i18n .Lang "blog.edit"}}</a>
|
||||
{{if eq .Model.RoleId 0 1}}
|
||||
<a href="{{urlfor "BookController.Users" ":key" .Model.Identify}}" class="btn btn-success"><i class="fa fa-user" aria-hidden="true"></i> {{i18n .Lang "blog.member"}}</a>
|
||||
<a href="{{urlfor "BookController.Setting" ":key" .Model.Identify}}" class="btn btn-primary"><i class="fa fa-gear" aria-hidden="true"></i> {{i18n .Lang "common.setting"}}</a>
|
||||
|
||||
Reference in New Issue
Block a user