Unverified Commit 01b67348 authored by Fernando Verdugo's avatar Fernando Verdugo Committed by GitHub
Browse files

Refactor/1389 shutdown clones (#1406)



refactor(frontend): shutdown clones

* Add new strings to en.po for translation

closes Issue #1389

Co-authored-by: default avatarfv3rdugo <fv3rdugo@gmail.com>
parent 0bd884c4
......@@ -866,3 +866,15 @@ msgstr ""
msgid "Add description"
msgstr ""
msgid "These actions affect all the clones on the machine"
msgstr ""
msgid "Shutdown all clones"
msgstr ""
msgid "Keep in mind that there may be users using a clone"
msgstr ""
msgid "Yes, shutwdown all the clones"
msgstr ""
......@@ -11,7 +11,7 @@
<button class="btn btn-danger" id="shutdown-clones" name="shutdown-clones"
ng-click="shutdown_clones=1"
>
<%=l 'Close all clones' %>
<%=l 'Shutdown all clones' %>
</button>
</div>
<div ng-show="shutdown_clones">
......@@ -21,7 +21,7 @@
<a type="button" class="btn btn-primary text-white"
ng-click="shutdown_clones=0"
><%=l 'No' %></a>
<a type="button" class="btn btn-danger text-white" ng-click="request('shutdown_clones',{ 'id_domain': showmachine.id });"
<a type="button" class="btn btn-danger text-white" ng-click="request('shutdown_clones',{ 'id_domain': showmachine.id });shutdown_clones=0"
><%=l 'Yes, shutwdown all the clones' %></a>
</div>
......
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