From 41c7216547855e01305343501f6a92ff698b024a Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Fri, 7 Jan 2022 10:15:44 +0800 Subject: [PATCH] fix issue --- templates/repo/modelarts/trainjob/show.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/modelarts/trainjob/show.tmpl b/templates/repo/modelarts/trainjob/show.tmpl index 0be93fc8f..1b8c13ef8 100755 --- a/templates/repo/modelarts/trainjob/show.tmpl +++ b/templates/repo/modelarts/trainjob/show.tmpl @@ -196,7 +196,7 @@ td, th {
{{$.CsrfTokenHtml}} - {{if .CanModify}} + {{if and (.CanModify) (eq .Status "COMPLETED")}} {{$.i18n.Tr "repo.modelarts.create_model"}} {{else}} {{$.i18n.Tr "repo.modelarts.create_model"}}