mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-14 21:03:51 +00:00
ui: backup job detail view: show retention settings in three columns
to safe vertical space for the actual guest+disk list Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
18af64dc99
commit
021838f8d3
@ -716,8 +716,7 @@ Ext.define('PVE.dc.BackupInfo', {
|
||||
}].concat(
|
||||
[
|
||||
['keep-last', gettext('Keep Last')],
|
||||
['keep-daily', gettext('Keep Daily')],
|
||||
['keep-monthly', gettext('Keep Monthly')],
|
||||
['keep-hourly', gettext('Keep Hourly')],
|
||||
].map(
|
||||
name => ({
|
||||
xtype: 'displayfield',
|
||||
@ -736,8 +735,26 @@ Ext.define('PVE.dc.BackupInfo', {
|
||||
labelWidth: 110,
|
||||
},
|
||||
items: [
|
||||
['keep-hourly', gettext('Keep Hourly')],
|
||||
['keep-daily', gettext('Keep Daily')],
|
||||
['keep-weekly', gettext('Keep Weekly')],
|
||||
].map(
|
||||
name => ({
|
||||
xtype: 'displayfield',
|
||||
name: name[0],
|
||||
fieldLabel: name[1],
|
||||
bind: {
|
||||
hidden: '{!hasRetention || retentionKeepAll}',
|
||||
},
|
||||
}),
|
||||
),
|
||||
},
|
||||
{
|
||||
padding: '0 0 0 10',
|
||||
defaults: {
|
||||
labelWidth: 110,
|
||||
},
|
||||
items: [
|
||||
['keep-monthly', gettext('Keep Monthly')],
|
||||
['keep-yearly', gettext('Keep Yearly')],
|
||||
].map(
|
||||
name => ({
|
||||
|
Loading…
Reference in New Issue
Block a user