]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
ui: backup info: use collapsible field set to render retention config
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 19 Jan 2023 15:41:52 +0000 (16:41 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 19 Jan 2023 15:41:52 +0000 (16:41 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/dc/BackupJobDetail.js

index 93c9a33e7450654c607b3c7f9af0d4e49c6f88f6..c82f50f4eb79944839aa75674dc25247ac01c377 100644 (file)
@@ -251,21 +251,18 @@ Ext.define('PVE.dc.BackupInfo', {
            fieldLabel: gettext('Comment'),
        },
        {
-           xtype: 'label',
-           name: 'pruneLabel',
-           text: gettext('Retention Configuration') + ':',
-           bind: {
-               hidden: '{!hasRetention}',
-           },
-       },
-       {
+           xtype: 'fieldset',
+           title: gettext('Retention Configuration'),
            layout: 'hbox',
-           border: false,
+           collapsible: true,
            defaults: {
                border: false,
                layout: 'anchor',
                flex: 1,
            },
+           bind: {
+               hidden: '{!hasRetention}',
+           },
            items: [
                {
                    padding: '0 10 0 0',