Browse Source

fix #386

tags/v1.21.12.1
Gitea 4 years ago
parent
commit
cd83cba6e4
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      templates/repo/datasets/dataset_list.tmpl

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

@@ -25,11 +25,11 @@
<div class="wide column one" style="{{if ne .DecompressState 1}}visibility: hidden;{{end}}"> <div class="wide column one" style="{{if ne .DecompressState 1}}visibility: hidden;{{end}}">
<a class="ui text center" href="datasets/dirs/{{.UUID}}?type={{$.Type}}" data-tooltip='{{$.i18n.Tr "dataset.directory"}}'>{{svg "octicon-file-directory" 16}}</a> <a class="ui text center" href="datasets/dirs/{{.UUID}}?type={{$.Type}}" data-tooltip='{{$.i18n.Tr "dataset.directory"}}'>{{svg "octicon-file-directory" 16}}</a>
</div> </div>
<div class="wide column one" style="{{if ne .DecompressState 1}}visibility: hidden;{{end}}">
<a class="ui text center" href="datasets/label/{{.UUID}}?type={{$.Type}}" data-tooltip='{{$.i18n.Tr "dataset.create_label_task"}}'><i class="fa fa-pencil-square-o" aria-hidden="true"></i></a>
</div>
{{if $.IsSigned}}
<div class="wide column one" style="{{if ne .DecompressState 1}}visibility: hidden;{{end}}">
<a class="ui text center" href="datasets/label/{{.UUID}}?type={{$.Type}}" data-tooltip='{{$.i18n.Tr "dataset.create_label_task"}}'><i class="fa fa-pencil-square-o" aria-hidden="true"></i></a>
</div>
{{end}}
{{if $.Permission.CanWrite $.UnitTypeDatasets}} {{if $.Permission.CanWrite $.UnitTypeDatasets}}
{{if $.Repository.IsPrivate}} {{if $.Repository.IsPrivate}}
<div class="two wide column"> <div class="two wide column">


Loading…
Cancel
Save