Browse Source

Merge pull request '修复数据列表模板错误导致部署错误' (#484) from web into V20210927-patch

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/484
tags/v1.21.12.1
avadesian 4 years ago
parent
commit
1dddfa6f98
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/repo/datasets/dataset_list.tmpl

+ 1
- 1
templates/repo/datasets/dataset_list.tmpl View File

@@ -17,7 +17,7 @@
<div class="ui mini icon buttons" style="margin-right: 10px;">
<a class="ui basic{{if ne .DecompressState 1}} disabled{{else}} blue{{end}} button" href="datasets/dirs/{{.UUID}}?type={{$.Type}}" data-tooltip='{{$.i18n.Tr "dataset.directory"}}'>{{svg "octicon-file-directory" 16}}</a>
{{if $.IsSigned}}
<a class="ui blue basic{{if ne .DecompressState 1}} disabled{{else}} blue{{end}}{{end}} button" href="datasets/label/{{.UUID}}?type={{$.Type}}" data-tooltip='{{$.i18n.Tr "dataset.create_label_task"}}'>{{svg "octicon-pencil" 16}}</a>
<a class="ui basic{{if ne .DecompressState 1}} disabled{{else}} blue{{end}} button" href="datasets/label/{{.UUID}}?type={{$.Type}}" data-tooltip='{{$.i18n.Tr "dataset.create_label_task"}}'>{{svg "octicon-pencil" 16}}</a>
{{end}}
</div>
{{if not .CanDel}}


Loading…
Cancel
Save