mirror of https://github.com/portainer/portainer
parent
486ffa5bbd
commit
839198fbff
|
@ -39,14 +39,6 @@
|
|||
<div class="form-group">
|
||||
{{ stackName }}
|
||||
|
||||
<a
|
||||
ng-if="!state.externalStack && stackFileContent"
|
||||
class="btn btn-primary btn-xs"
|
||||
ui-sref="docker.templates.custom.new({fileContent: stackFileContent, type: stack.Type})"
|
||||
>
|
||||
Create template from stack
|
||||
</a>
|
||||
|
||||
<button
|
||||
authorization="PortainerStackUpdate"
|
||||
ng-if="!state.externalStack && stack.Status === 2"
|
||||
|
@ -73,6 +65,15 @@
|
|||
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>
|
||||
Delete this stack
|
||||
</button>
|
||||
|
||||
<button
|
||||
ng-if="!state.externalStack && stackFileContent"
|
||||
class="btn btn-primary btn-xs"
|
||||
ui-sref="docker.templates.custom.new({fileContent: stackFileContent, type: stack.Type})"
|
||||
>
|
||||
<i class="fa fa-plus space-right" aria-hidden="true"></i>
|
||||
Create template from stack
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- !stack-details -->
|
||||
|
|
Loading…
Reference in New Issue