mirror of https://github.com/portainer/portainer
parent
486ffa5bbd
commit
839198fbff
|
@ -39,14 +39,6 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
{{ stackName }}
|
{{ 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
|
<button
|
||||||
authorization="PortainerStackUpdate"
|
authorization="PortainerStackUpdate"
|
||||||
ng-if="!state.externalStack && stack.Status === 2"
|
ng-if="!state.externalStack && stack.Status === 2"
|
||||||
|
@ -73,6 +65,15 @@
|
||||||
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>
|
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>
|
||||||
Delete this stack
|
Delete this stack
|
||||||
</button>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
<!-- !stack-details -->
|
<!-- !stack-details -->
|
||||||
|
|
Loading…
Reference in New Issue