|
|
|
@@ -253,7 +253,7 @@ |
|
|
|
<div style="float: right;"> |
|
|
|
{{if and ($.canDownload) (ne .Status "WAITING") ($.Permission.CanWrite $.UnitTypeModelManage) }} |
|
|
|
<a class="ti-action-menu-item" id="{{.VersionName}}-create-model" |
|
|
|
onclick="showcreate({DisplayJobName:{{.DisplayJobName}},JobName:{{.JobName}},JobID:{{.JobID}},VersionName:{{.VersionName}})">{{$.i18n.Tr "repo.modelarts.create_model"}}</a> |
|
|
|
onclick="showcreate({DisplayJobName:{{.DisplayJobName}},JobName:{{.JobName}},JobID:{{.JobID}},VersionName:{{.VersionName}}})">{{$.i18n.Tr "repo.modelarts.create_model"}}</a> |
|
|
|
{{else}} |
|
|
|
<a class="ti-action-menu-item disabled" id="{{.VersionName}}-create-model">{{$.i18n.Tr "repo.modelarts.create_model"}}</a> |
|
|
|
{{end}} |
|
|
|
|