|
|
|
@@ -388,19 +388,18 @@ |
|
|
|
<th style="color: #8a8e99;font-size:12px" class="two wide center aligned">{{$.i18n.Tr "dataset.download_oper"}}</th> |
|
|
|
</tr></thead> |
|
|
|
<tbody> |
|
|
|
{{range $.modelDownload}} |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td class="dataset_nowrap_two_line"> |
|
|
|
{{if eq .IsDelete true}} |
|
|
|
{{.Name}}({{$.i18n.Tr "dataset.file_deleted"}}) |
|
|
|
{{if eq $.modelDownload.IsDelete true}} |
|
|
|
{{$.modelDownload.Name}}({{$.i18n.Tr "dataset.file_deleted"}}) |
|
|
|
{{else}} |
|
|
|
<a href="{{.RepositoryLink}}" target="_blank">{{.Name}}</a> |
|
|
|
<a href="{{.RepositoryLink}}" target="_blank">{{$.modelDownload.Name}}</a> |
|
|
|
{{end}} |
|
|
|
</td> |
|
|
|
<td><div class="dataset_nowrap_two_line">{{.DownloadLink}}</div></td> |
|
|
|
<td class="center aligned"><a class="ui poping up clipboard" id="clipboard-btn-dataset" data-original="{{$.i18n.Tr "repo.copy_link"}}" data-success="{{$.i18n.Tr "repo.copy_link_success"}}" data-error="{{$.i18n.Tr "repo.copy_link_error"}}" data-content="{{$.i18n.Tr "repo.copy_link"}}" data-variation="inverted tiny" data-clipboard-text="{{.DownloadLink}}">{{if .DownloadLink}}{{$.i18n.Tr "dataset.download_copy"}}{{end}}</a></td> |
|
|
|
<td><div class="dataset_nowrap_two_line">{{$.modelDownload.DownloadLink}}</div></td> |
|
|
|
<td class="center aligned"><a class="ui poping up clipboard" id="clipboard-btn-dataset" data-original="{{$.i18n.Tr "repo.copy_link"}}" data-success="{{$.i18n.Tr "repo.copy_link_success"}}" data-error="{{$.i18n.Tr "repo.copy_link_error"}}" data-content="{{$.i18n.Tr "repo.copy_link"}}" data-variation="inverted tiny" data-clipboard-text="{{$.modelDownload.DownloadLink}}">{{if $.modelDownload.DownloadLink}}{{$.i18n.Tr "dataset.download_copy"}}{{end}}</a></td> |
|
|
|
</tr> |
|
|
|
{{end}} |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|
{{end}} |
|
|
|
|