]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: allow one to delete the description
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Oct 2020 11:27:52 +0000 (12:27 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Oct 2020 12:13:00 +0000 (13:13 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/Subscription.js

index 64f471232c52b40a43fbede1ebb55664d4b288dd..d2ad5af0bd9fb20c372af85ea5634cf622a3030e 100644 (file)
@@ -96,6 +96,16 @@ Ext.define('PBS.Subscription', {
                        });
                    },
                },
+               {
+                   text: gettext('Remove Subscription'),
+                   xtype: 'proxmoxStdRemoveButton',
+                   confirmMsg: gettext('Are you sure you want to remove the subscription key?'),
+                   baseurl: baseurl,
+                   dangerous: true,
+                   selModel: false,
+                   callback: reload,
+               },
+               //'-',
            ],
            rows: rows,
        });