mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 05:22:40 +00:00
ui snapshot tree: add label when no new snapshot is possible
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
b9c780c5a8
commit
e1af138576
@ -233,6 +233,7 @@ Ext.define('PVE.guest.SnapshotTree', {
|
|||||||
},
|
},
|
||||||
handler: 'newSnapshot',
|
handler: 'newSnapshot',
|
||||||
},
|
},
|
||||||
|
'-',
|
||||||
{
|
{
|
||||||
xtype: 'proxmoxButton',
|
xtype: 'proxmoxButton',
|
||||||
text: gettext('Rollback'),
|
text: gettext('Rollback'),
|
||||||
@ -276,7 +277,15 @@ Ext.define('PVE.guest.SnapshotTree', {
|
|||||||
disabled: true,
|
disabled: true,
|
||||||
edit: true,
|
edit: true,
|
||||||
handler: 'editSnapshot',
|
handler: 'editSnapshot',
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
xtype: 'label',
|
||||||
|
text: gettext("The current guest configuration does not support taking new snapshots"),
|
||||||
|
hidden: true,
|
||||||
|
bind: {
|
||||||
|
hidden: "{canSnapshot}",
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
columnLines: true,
|
columnLines: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user