Unverified Commit 8f2c25d0 authored by wisaias's avatar wisaias Committed by GitHub
Browse files

I have added to vm_options.html.ep the Shutdown Timeout (#1543)

Add to vm_options.html.ep the Shutdown Timeout

* Shutdown Timeout text string added to es.po en.po and ca.po
* added the shutdown timeout text string on en.po es.po ca.po
parent 806b54f7
......@@ -665,6 +665,9 @@ msgstr "MB disponible"
msgid "The machine will shutdown after these minutes"
msgstr "La màquina s'apagarà després d'aquests minuts"
msgid "The machine will turn off after this time"
msgstr "La màquina s'apagarà després d'aquest temps"
msgid "Cancel"
msgstr "cancel·lar"
......
......@@ -654,6 +654,9 @@ msgstr "MB available"
msgid "The machine will shutdown after these minutes"
msgstr "The machine will shutdown after these minutes"
msgid "The machine will turn off after this time"
msgstr "The machine will turn off atfer this time"
msgid "Cancel"
msgstr "Cancel"
......
......@@ -666,6 +666,9 @@ msgstr "MB disponible"
msgid "The machine will shutdown after these minutes"
msgstr "La máquina se apagará después de estos minutos"
msgid "The machine will turn off after this time"
msgstr "La máquina se apagará después de este tiempo"
msgid "Cancel"
msgstr "Cancelar"
......
......@@ -199,7 +199,7 @@
<li ng-repeat="cdrom in machine.info.cdrom">{{cdrom}}</li>
</ul>
<input type="checkbox" ng-model="with_cd" name="with_cd"/>
<label for="with_cd">Keep the CD for the clones</label>
<label for="with_cd"><%=l 'Keep the CD for the clones' %></label>
</div>
<p><%=l 'Are you sure you want to prepare the base of' %> {{machine.name}}?</p>
</div>
......
......@@ -26,7 +26,7 @@
<div class="row" ng-hide="true">
<div class="col-md-1"></div>
<div class="col-md-2">
<label for="falback">Fallback</label>
<label for="falback"><%=l 'Fallback' %></label>
</div>
<div class="col-md-2">
<input name="fallback" ng-model="settings.frontend.fallback.value" type="checkbox"
......@@ -37,7 +37,7 @@
<div class="row" ng-hide="true">
<div class="col-md-1"></div>
<div class="col-md-2">
<label for="session timeout">Session timeout</label>
<label for="session timeout"><%=l 'Session timeout' %></label>
</div>
<div class="col-md-2">
<input name="fallback" ng-model="settings.frontend.session_timeout.value"
......@@ -47,7 +47,7 @@
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-2">
<label for="maintenance">Maintenance</label>
<label for="maintenance"><%=l 'Maintenance' %></label>
</div>
<div class="col-md-6">
<input name="maintenance" ng-model="settings.frontend.maintenance.value"
......@@ -60,7 +60,7 @@
<div class="row" ng-show="settings.frontend.maintenance.value == 1">
<div class="col-md-1"></div>
<div class="col-md-2">
<label for="maintenance_start">Maintenance Start</label>
<label for="maintenance_start"><%=l 'Maintenance Start' %></label>
</div>
<div class="col-md-8">
<input name="maintenance_start" ng-model="settings.frontend.maintenance_start.value"
......@@ -72,7 +72,7 @@
<div class="row" ng-show="settings.frontend.maintenance.value == 1">
<div class="col-md-1"></div>
<div class="col-md-2">
<label for="maintenance_end">Maintenance End</label>
<label for="maintenance_end"><%=l 'Maintenance End' %></label>
</div>
<div class="col-md-4">
<input name="maintenance_end" ng-model="settings.frontend.maintenance_end.value"
......@@ -94,7 +94,7 @@
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-2">
<label for="start_limit">Start Limit</label>
<label for="start_limit"><%=l 'Start Limit' %></label>
</div>
<div class="col-md-4">
<input name="start_limit" ng-model="settings.backend.start_limit.value"
......@@ -105,7 +105,7 @@
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-2">
<label for="debug">Debug</label>
<label for="debug"><%=l 'Debug' %></label>
</div>
<div class="col-md-6">
<input name="debug" ng-model="settings.backend.debug.value"
......@@ -117,7 +117,7 @@
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-2">
<label for="debug">Debug Ports</label>
<label for="debug"><%=l 'Debug Ports' %></label>
</div>
<div class="col-md-6">
<input name="debug" ng-model="settings.backend.debug_ports.value"
......@@ -130,7 +130,7 @@
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-2">
<label for="debug">Display Password</label>
<label for="debug"><%=l 'Display Password' %></label>
</div>
<div class="col-md-6">
<input name="debug" ng-model="settings.backend.display_password.value"
......
......@@ -2,7 +2,7 @@
<h2><%=l 'Add new disk' %></h2>
<div class="row">
<div class="col-lg-2">
<label for="device">device</label>
<label for="device"><%=l 'device' %></label>
</div>
<div class="col-lg-2">
<select name="device" ng-model="add_disk.device">
......@@ -13,7 +13,7 @@
</div>
<div class="row" ng-show="add_disk.device == 'disk'">
<div class="col-lg-2">
<label for="type">type</label>
<label for="type"><%=l 'type' %></label>
</div>
<div class="col-lg-2">
<select name="type" ng-model="add_disk.type">
......@@ -30,7 +30,7 @@
</div>
<div class="row" ng-show="add_disk.device == 'disk'">
<div class="col-lg-2">
<label for="capacity">size</label>
<label for="capacity"><%=l 'size' %></label>
</div>
<div class="col-lg-2">
<input type="text" name="capacity" ng-model="add_disk.capacity">
......@@ -38,7 +38,7 @@
</div>
<div class="row" ng-show="add_disk.device == 'disk'">
<div class="col-lg-2">
<label for="allocation">allocation</label>
<label for="allocation"><%=l 'allocation' %></label>
</div>
<div class="col-lg-2">
<input type="text" name="allocation" ng-model="add_disk.allocation">
......
......@@ -118,7 +118,7 @@
% if ($USER->can_change_settings){
<div class="row">
<div class="col-lg-3 mt-2">
<label class="control-label" for="timeout">Timeout</label>
<label class="control-label" for="timeout"><%=l 'Run Timeout' %></label>
</div>
<div class="col-lg-2">
<input type="text" size="5" name="timeout"
......@@ -128,6 +128,18 @@
</div>
<div class="col-lg-6"><small class="text-secondary"><%=l 'The machine will shutdown after these minutes' %></small></div>
</div>
<div class="row">
<div class="col-lg-3 mt-2">
<label class="control-label" for="shutdown_timeout"><%=l 'Shutdown Timeout' %></label>
</div>
<div class="col-lg-2">
<input type="text" size="5" name="shutdown_timeout"
ng-change="set_value('shutdown_timeout',new_shutdown_timeout*60)"
ng-model="new_shutdown_timeout"
>
</div>
<div class="col-lg-6"><small class="text-secondary"><%=l 'The machine will turn off after this time' %></small></div>
</div>
% }
% if ($USER->can_change_settings){
<div class="row" ng-show="showmachine.is_base">
......
......@@ -17,7 +17,7 @@
<li ng-repeat="cdrom in machine.info.cdrom">{{cdrom}}</li>
</ul>
<input type="checkbox" ng-model="with_cd" name="with_cd"/>
<label for="with_cd">Keep the CD for the clones</label>
<label for="with_cd"><%=l 'Keep the CD for the clones' %></label>
</div>
<p><%=l 'Are you sure you want to prepare the base of' %> {{showmachine.name}}?</p>
<button type="button" class="btn btn-secondary" data-dismiss="modal" ng-click="confirm_prepare_base=false"><%=l 'No' %></button>
......
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