| @@ -363,7 +363,7 @@ | |||||
| {{$Resource := .ComputeResource}} | {{$Resource := .ComputeResource}} | ||||
| </tr></thead> | </tr></thead> | ||||
| <tbody> | <tbody> | ||||
| {{range $.datasetDownload}} | |||||
| {{range $k,$v := $.datasetDownload}} | |||||
| <tr> | <tr> | ||||
| <td class="dataset_nowrap_two_line"> | <td class="dataset_nowrap_two_line"> | ||||
| {{if eq .IsDelete true}} | {{if eq .IsDelete true}} | ||||
| @@ -374,7 +374,7 @@ | |||||
| </td> | </td> | ||||
| {{if eq $Resource "NPU"}} | {{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}}">{{if .DatasetDownloadLink}}{{$.i18n.Tr "dataset.download_copy"}}{{end}}</a></td> | |||||
| <td class="center aligned"><a class="ui poping up clipboard" id="clipboard-btn-dataset-{{$k}}" 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}} | ||||