From 99494fa6b397535ce44ccc9915fdd888366c7440 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Thu, 8 Dec 2022 15:15:46 +0800 Subject: [PATCH] fix issue --- templates/repo/grampus/notebook/show.tmpl | 23 +++++++++++---------- templates/repo/modelarts/notebook/show.tmpl | 3 +-- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/templates/repo/grampus/notebook/show.tmpl b/templates/repo/grampus/notebook/show.tmpl index b157b0e52..4a0f34c05 100644 --- a/templates/repo/grampus/notebook/show.tmpl +++ b/templates/repo/grampus/notebook/show.tmpl @@ -227,6 +227,16 @@
+ + + {{$.i18n.Tr "repo.grampus.train_job.ai_center"}} + + +
+ {{if $.ai_center}}{{$.ai_center}}{{else}}--{{end}} +
+ + {{$.i18n.Tr "repo.modelarts.model_name"}} @@ -254,16 +264,7 @@
{{if .CkptName}}{{.CkptName}}{{else}}--{{end}}
- - - {{$.i18n.Tr "repo.grampus.train_job.ai_center"}} - - -
- {{if $.ai_center}}{{$.ai_center}}{{else}}--{{end}} -
- - + {{if eq .ComputeResource "CPU/GPU"}} @@ -385,7 +386,7 @@ {{if eq $.modelDownload.IsDelete true}} {{$.modelDownload.Name}}({{$.i18n.Tr "dataset.file_deleted"}}) {{else}} - {{$.modelDownload.Name}} + {{$.modelDownload.Name}} {{end}}
{{$.modelDownload.DownloadLink}}
diff --git a/templates/repo/modelarts/notebook/show.tmpl b/templates/repo/modelarts/notebook/show.tmpl index a6ca523df..540d53f18 100755 --- a/templates/repo/modelarts/notebook/show.tmpl +++ b/templates/repo/modelarts/notebook/show.tmpl @@ -283,7 +283,7 @@ {{if eq $.modelDownload.IsDelete true}} {{$.modelDownload.Name}}({{$.i18n.Tr "dataset.file_deleted"}}) {{else}} - {{$.modelDownload.Name}} + {{$.modelDownload.Name}} {{end}}
{{$.modelDownload.DownloadLink}}
@@ -328,7 +328,6 @@ {{template "base/footer" .}}