Browse Source

hide the dir button when undecompressed

tags/v1.21.12.1
yuyuanshifu 5 years ago
parent
commit
92155d64d5
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

@@ -18,7 +18,7 @@
<span class="ui text center clipboard" data-clipboard-text="{{.DownloadURL}}" data-tooltip='{{$.i18n.Tr "dataset.copy_url"}}' data-clipboard-action="copy">{{svg "octicon-file" 16}}</span>
</div>

<div class="two wide column">
<div class="two wide column" style="{{if ne .DecompressState 1}}visibility: hidden{{end}}">
<a class="ui button mini" href="datasets/dirs/{{.UUID}}" data-uuid={{.UUID}} data-dataset-dir data-dir-url="{{AppSubUrl}}/attachments/dir" data-csrf="{{$.CsrfToken}}">{{$.i18n.Tr "dataset.dir"}}</a>
</div>



Loading…
Cancel
Save