Browse Source

fix issue

tags/v1.22.1.2
zhoupzh 3 years ago
parent
commit
14e57f6175
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/repo/modelmanage/index.tmpl

+ 1
- 1
templates/repo/modelmanage/index.tmpl View File

@@ -23,7 +23,7 @@
<div class="column"></div>
<div class="column right aligned">
<!-- -->
<a class="ui button {{if .Permission.CanWrite $.UnitTypeCloudBrain}} green {{else}} disabled {{end}}" onclick="showcreate(this)">{{$.i18n.Tr "repo.model.manage.import_new_model"}}</a>
<a class="ui button {{if .Permission.CanWrite $.UnitTypeModelManage}} green {{else}} disabled {{end}}" onclick="showcreate(this)">{{$.i18n.Tr "repo.model.manage.import_new_model"}}</a>
</div>
</div>
{{if eq $.MODEL_COUNT 0}}


Loading…
Cancel
Save