Commit 2e1c3206 authored by gloria's avatar gloria Committed by Francesc Guasch
Browse files

fix option to active autostart machines

show autostart checkbox if machine is not a base machine and if machine has not clones

fixes #901
parent 3563bdb2
......@@ -225,7 +225,9 @@
% if ($autostart) {
<td></td>
<td class="lgMachToggle">
<input type="checkbox" ng-hide="machine.has_clones || machine.is_base" ng-model="machine.autostart" ng-true-value="1" ng-false-value="0" ng-change="set_autostart(machine.id,machine.autostart)" title="{{ machine.autostart ? 'Disable' : 'Enable'}} autostart">
</td>
% }
% }
<td class="lgMachActions">
......
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