Browse Source

feat: suitable copy

tags/v1.21.12.1
colorfulberry 5 years ago
parent
commit
de7925573e
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

@@ -15,7 +15,7 @@
</div>

<div class="one wide column">
<span class="ui text center" data-tooltip='{{$.i18n.Tr "dataset.copy_url"}}' data-position="bottom right">{{svg "octicon-file" 16}}</span>
<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>

{{if $.Permission.CanWrite $.UnitTypeDatasets}}


Loading…
Cancel
Save