ui: power menu: add more tooltips

For reset and reboot.
Shutdown and pause is pretty self-explanatory, so omit that

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-09-19 14:12:33 +02:00
parent 759f7a63fa
commit a94325d600

View File

@ -145,6 +145,7 @@ Ext.define('PVE.qemu.Config', {
items: [{
text: gettext('Reboot'),
disabled: !caps.vms['VM.PowerMgmt'],
tooltip: Ext.String.format(gettext('Shutdown, apply pending changes and reboot {0}'), 'VM'),
confirmMsg: Proxmox.Utils.format_task_description('qmreboot', vmid),
handler: function() {
vm_command("reboot");
@ -180,6 +181,7 @@ Ext.define('PVE.qemu.Config', {
},{
text: gettext('Reset'),
disabled: !caps.vms['VM.PowerMgmt'],
tooltip: Ext.String.format(gettext('Reset {0} immediately'), 'VM'),
confirmMsg: Proxmox.Utils.format_task_description('qmreset', vmid),
handler: function() {
vm_command("reset");