|
|
@@ -196,7 +196,7 @@ td, th { |
|
|
|
<span> |
|
|
|
<div style="float: right;"> |
|
|
|
{{$.CsrfTokenHtml}} |
|
|
|
{{if and (.CanModify) (eq .Status "COMPLETED")}} |
|
|
|
{{if and (.CanModify) (eq .Status "COMPLETED") ($.Permission.CanWrite $.UnitTypeModelManage) }} |
|
|
|
<a class="ti-action-menu-item" id="{{.VersionName}}-create-model" onclick="showcreate({{.}})">{{$.i18n.Tr "repo.modelarts.create_model"}}</a> |
|
|
|
{{else}} |
|
|
|
<a class="ti-action-menu-item disabled" id="{{.VersionName}}-create-model" onclick="showcreate({{.}})">{{$.i18n.Tr "repo.modelarts.create_model"}}</a> |
|
|
|