Commit fcf86275 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

[#160] Warn about can't remove because it has clones

parent 705a07df
<div class="panel panel-primary">
<div class="panel-body">
<a type="button" class="btn btn-danger"
ng-hide="showmachine.has_clones > 0 "
......@@ -5,6 +8,11 @@
<%=l 'Remove' %>
<div ng-show=showmachine.has_clones>
This machine can't be removed because it
has {{showmachine.has_clones}} clones.
<div ng-show="domain_remove">
This will remove all the contents of the machine
<i><%= $domain->name %></i>.
......@@ -16,4 +24,5 @@
ng-click="remove(<%= $domain->id %>)"
</div><!-- del domain remove -->
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment