From 6d96eb4116b82f00fee2a79a464ff1f15a5f8297 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Wed, 7 Dec 2022 10:06:30 +0800 Subject: [PATCH] fix issue --- templates/repo/cloudbrain/new.tmpl | 2 +- templates/repo/cloudbrain/show.tmpl | 21 ++++++++++---------- templates/repo/grampus/notebook/gpu/new.tmpl | 2 +- templates/repo/grampus/notebook/show.tmpl | 2 +- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/templates/repo/cloudbrain/new.tmpl b/templates/repo/cloudbrain/new.tmpl index ce6666b96..63053a3ed 100755 --- a/templates/repo/cloudbrain/new.tmpl +++ b/templates/repo/cloudbrain/new.tmpl @@ -80,7 +80,7 @@ {{template "custom/task_wait_count" .}}
- {{.i18n.Tr "cloudbrain.new_debug_gpu_tooltip" "/code" "/dataset" "/pretrainmodel" "/model" | Safe}} + {{.i18n.Tr "cloudbrain.new_debug_gpu_tooltips" "/code" "/dataset" "/pretrainmodel" "/model" | Safe}}
diff --git a/templates/repo/cloudbrain/show.tmpl b/templates/repo/cloudbrain/show.tmpl index 25a899e1a..cb805b966 100755 --- a/templates/repo/cloudbrain/show.tmpl +++ b/templates/repo/cloudbrain/show.tmpl @@ -106,34 +106,34 @@ - {{$.i18n.Tr "repo.modelarts.computing_resources"}} + {{$.i18n.Tr "cloudbrain.task_type"}}
- {{.ComputeResource}} + {{.JobType}}
- {{$.i18n.Tr "cloudbrain.task_type"}} + {{$.i18n.Tr "repo.modelarts.code_version"}} -
- {{.JobType}} +
+ {{.BranchName}} + {{SubStr .CommitID 0 10}}
- {{$.i18n.Tr "repo.modelarts.code_version"}} + {{$.i18n.Tr "repo.modelarts.computing_resources"}} -
- {{.BranchName}} - {{SubStr .CommitID 0 10}} +
+ {{.ComputeResource}}
@@ -369,6 +369,7 @@ {{template "base/footer" .}}