diff --git a/templates/repo/modelarts/trainjob/index.tmpl b/templates/repo/modelarts/trainjob/index.tmpl index a6e55703f..a754c36e2 100755 --- a/templates/repo/modelarts/trainjob/index.tmpl +++ b/templates/repo/modelarts/trainjob/index.tmpl @@ -39,6 +39,16 @@
+ {{if .Permission.CanWrite $.UnitTypeCloudBrain}} {{$.i18n.Tr "repo.modelarts.train_job.new_train"}} {{else}} @@ -102,7 +112,7 @@
- + {{.DisplayJobName}} @@ -143,7 +153,7 @@
{{$.CsrfTokenHtml}} {{if .CanDel}} - + {{$.i18n.Tr "repo.stop"}} {{else}} @@ -154,7 +164,7 @@
-
+ {{$.CsrfTokenHtml}} {{if .CanDel}} @@ -206,3 +216,27 @@
{{template "base/footer" .}} + +