]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: backup: add retention column
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 12 Nov 2021 17:19:17 +0000 (18:19 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 12 Nov 2021 17:19:20 +0000 (18:19 +0100)
half of this patch has already applied with the last commit by
mistake..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/dc/Backup.js

index a585522a801723481dd3dd33ae58aa2d27060bc5..6f2d39bbf640fc5dfc04d0468d78a17f29f329a6 100644 (file)
@@ -766,8 +766,14 @@ Ext.define('PVE.dc.BackupView', {
                    flex: 1,
                },
                {
-                   header: gettext('Selection'),
+                   header: gettext('Retention'),
+                   dataIndex: 'prune-backups',
+                   renderer: v => v ? PVE.Parser.printPropertyString(v) : gettext('Fallback from storage config'),
                    flex: 2,
+               },
+               {
+                   header: gettext('Selection'),
+                   flex: 4,
                    sortable: false,
                    dataIndex: 'vmid',
                    renderer: PVE.Utils.render_backup_selection,