* [pve-devel] [PATCH pve-manager 1/1] close #3114: ui: snapshots: switch Edit and Remove Button & add warning logo
@ 2020-11-09 11:40 Moayad Almalat
2020-11-23 13:00 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Moayad Almalat @ 2020-11-09 11:40 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Moayad Almalat <m.almalat@proxmox.com>
---
www/manager6/tree/SnapshotTree.js | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/www/manager6/tree/SnapshotTree.js b/www/manager6/tree/SnapshotTree.js
index 7b5ac3ed..1b33e729 100644
--- a/www/manager6/tree/SnapshotTree.js
+++ b/www/manager6/tree/SnapshotTree.js
@@ -264,10 +264,22 @@ Ext.define('PVE.guest.SnapshotTree', {
},
handler: 'rollback',
},
+ {
+ xtype: 'proxmoxButton',
+ text: gettext('Edit'),
+ bind: {
+ text: '{buttonText}',
+ disabled: '{!isSnapshot}',
+ },
+ disabled: true,
+ edit: true,
+ handler: 'editSnapshot',
+ },
{
xtype: 'proxmoxButton',
text: gettext('Remove'),
disabled: true,
+ dangerous: true,
bind: {
disabled: '{!canRemove}',
},
@@ -281,17 +293,6 @@ Ext.define('PVE.guest.SnapshotTree', {
},
handler: 'remove',
},
- {
- xtype: 'proxmoxButton',
- text: gettext('Edit'),
- bind: {
- text: '{buttonText}',
- disabled: '{!isSnapshot}',
- },
- disabled: true,
- edit: true,
- handler: 'editSnapshot',
- },
{
xtype: 'label',
text: gettext("The current guest configuration does not support taking new snapshots"),
--
2.20.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH pve-manager 1/1] close #3114: ui: snapshots: switch Edit and Remove Button & add warning logo
2020-11-09 11:40 [pve-devel] [PATCH pve-manager 1/1] close #3114: ui: snapshots: switch Edit and Remove Button & add warning logo Moayad Almalat
@ 2020-11-23 13:00 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2020-11-23 13:00 UTC (permalink / raw)
To: Proxmox VE development discussion, Moayad Almalat, pve-devel
On 09.11.20 12:40, Moayad Almalat wrote:
> Signed-off-by: Moayad Almalat <m.almalat@proxmox.com>
> ---
> www/manager6/tree/SnapshotTree.js | 23 ++++++++++++-----------
> 1 file changed, 12 insertions(+), 11 deletions(-)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-23 13:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-09 11:40 [pve-devel] [PATCH pve-manager 1/1] close #3114: ui: snapshots: switch Edit and Remove Button & add warning logo Moayad Almalat
2020-11-23 13:00 ` [pve-devel] applied: " Thomas Lamprecht
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal