this adds a show config button to the storage contentview
so that you can show the backup configuration from there
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
},
templateButton,
uploadButton,
+ {
+ xtype: 'pveButton',
+ text: gettext('Show Configuration'),
+ disabled: true,
+ selModel: sm,
+ enableFn: function(rec) {
+ return rec && rec.data.content === 'backup';
+ },
+ handler: function(b,e,rec) {
+ var win = Ext.create('PVE.window.BackupConfig', {
+ volume: rec.data.volid,
+ pveSelNode: me.pveSelNode
+ });
+
+ win.show();
+ }
+ },
'->',
gettext('Search') + ':', ' ',
{