|
|
@@ -142,7 +142,7 @@ |
|
|
<div class="ui compact buttons"> |
|
|
<div class="ui compact buttons"> |
|
|
{{$.CsrfTokenHtml}} |
|
|
{{$.CsrfTokenHtml}} |
|
|
{{if .CanDel}} |
|
|
{{if .CanDel}} |
|
|
<a style="padding: 0.5rem 1rem;" id="{{.VersionName}}-stop" class="ui basic {{if eq .Status "KILLED" "FAILED" "START_FAILED" "KILLING" "COMPLETED"}}disabled {{else}} blue {{end}}button" onclick="stopVersion({{.VersionName}},{{.JobID}})"> |
|
|
|
|
|
|
|
|
<a style="padding: 0.5rem 1rem;" id="{{.VersionName}}-stop" class="ui basic {{if eq .Status "KILLED" "FAILED" "START_FAILED" "KILLING" "COMPLETED" "SUCCEEDED"}}disabled {{else}} blue {{end}}button" onclick="stopVersion({{.VersionName}},{{.JobID}})"> |
|
|
{{$.i18n.Tr "repo.stop"}} |
|
|
{{$.i18n.Tr "repo.stop"}} |
|
|
</a> |
|
|
</a> |
|
|
{{else}} |
|
|
{{else}} |
|
|
|