Browse Source

fix issue

tags/v1.22.12.1^2
zhoupzh 3 years ago
parent
commit
99494fa6b3
2 changed files with 13 additions and 13 deletions
  1. +12
    -11
      templates/repo/grampus/notebook/show.tmpl
  2. +1
    -2
      templates/repo/modelarts/notebook/show.tmpl

+ 12
- 11
templates/repo/grampus/notebook/show.tmpl View File

@@ -227,6 +227,16 @@
<div class="text-span text-span-w"></div>
</td>
</tr>
<tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80">
{{$.i18n.Tr "repo.grampus.train_job.ai_center"}}
</td>
<td class="ti-text-form-content">
<div class="text-span text-span-w" id="{{.VersionName}}-ai_center">
{{if $.ai_center}}{{$.ai_center}}{{else}}--{{end}}
</div>
</td>
</tr>
<tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80">
{{$.i18n.Tr "repo.modelarts.model_name"}}
@@ -254,16 +264,7 @@
<div class="text-span text-span-w">{{if .CkptName}}{{.CkptName}}{{else}}--{{end}}</div>
</td>
</tr>
<tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80">
{{$.i18n.Tr "repo.grampus.train_job.ai_center"}}
</td>
<td class="ti-text-form-content">
<div class="text-span text-span-w" id="{{.VersionName}}-ai_center">
{{if $.ai_center}}{{$.ai_center}}{{else}}--{{end}}
</div>
</td>
</tr>
{{if eq .ComputeResource "CPU/GPU"}}
<tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80">
@@ -385,7 +386,7 @@
{{if eq $.modelDownload.IsDelete true}}
{{$.modelDownload.Name}}({{$.i18n.Tr "dataset.file_deleted"}})
{{else}}
<a href="{{$.RepoRelPath}}/modelmanage/show_model_info?name={{$.modelDownload.Name}}" target="_blank">{{$.modelDownload.Name}}</a>
<a href="{{.RepoLink}}/modelmanage/show_model_info?name={{$.modelDownload.Name}}" target="_blank">{{$.modelDownload.Name}}</a>
{{end}}
</td>
<td><div class="dataset_nowrap_two_line">{{$.modelDownload.DownloadLink}}</div></td>


+ 1
- 2
templates/repo/modelarts/notebook/show.tmpl View File

@@ -283,7 +283,7 @@
{{if eq $.modelDownload.IsDelete true}}
{{$.modelDownload.Name}}({{$.i18n.Tr "dataset.file_deleted"}})
{{else}}
<a href="{{$.RepoRelPath}}/modelmanage/show_model_info?name={{$.modelDownload.Name}}" target="_blank">{{$.modelDownload.Name}}</a>
<a href="{{.RepoLink}}/modelmanage/show_model_info?name={{$.modelDownload.Name}}" target="_blank">{{$.modelDownload.Name}}</a>
{{end}}
</td>
<td><div class="dataset_nowrap_two_line">{{$.modelDownload.DownloadLink}}</div></td>
@@ -328,7 +328,6 @@
{{template "base/footer" .}}
<script src="{{StaticUrlPrefix}}/js/specsuse.js?v={{MD5 AppVer}}" type="text/javascript"></script>
<script>
console.log({{.task}});
$('.menu .item').tab()

$(document).ready(function () {


Loading…
Cancel
Save