| @@ -361,6 +361,7 @@ | |||||
| <th style="color: #8a8e99;font-size:12px"class="eleven wide">{{$.i18n.Tr "dataset.download_url"}}</th> | <th style="color: #8a8e99;font-size:12px"class="eleven wide">{{$.i18n.Tr "dataset.download_url"}}</th> | ||||
| <th style="color: #8a8e99;font-size:12px" class="two wide center aligned">{{$.i18n.Tr "dataset.download_oper"}}</th> | <th style="color: #8a8e99;font-size:12px" class="two wide center aligned">{{$.i18n.Tr "dataset.download_oper"}}</th> | ||||
| {{end}} | {{end}} | ||||
| {{$Resource := .ComputeResource}} | |||||
| </tr></thead> | </tr></thead> | ||||
| <tbody> | <tbody> | ||||
| {{range $.datasetDownload}} | {{range $.datasetDownload}} | ||||
| @@ -372,9 +373,9 @@ | |||||
| <a href="{{.RepositoryLink}}" target="_blank">{{.DatasetName}}</a> | <a href="{{.RepositoryLink}}" target="_blank">{{.DatasetName}}</a> | ||||
| {{end}} | {{end}} | ||||
| </td> | </td> | ||||
| {{if .DatasetDownloadLink}} | |||||
| {{if eq $Resource "NPU"}} | |||||
| <td><div class="dataset_nowrap_two_line">{{.DatasetDownloadLink}}</div></td> | <td><div class="dataset_nowrap_two_line">{{.DatasetDownloadLink}}</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="{{.DatasetDownloadLink}}">{{$.i18n.Tr "dataset.download_copy"}}</a></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="{{.DatasetDownloadLink}}">{{if .DatasetDownloadLink}}{{$.i18n.Tr "dataset.download_copy"}}{{end}}</a></td> | |||||
| {{end}} | {{end}} | ||||
| </tr> | </tr> | ||||
| {{end}} | {{end}} | ||||