mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-15 01:21:34 +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(
|
}].concat(
|
||||||
[
|
[
|
||||||
['keep-last', gettext('Keep Last')],
|
['keep-last', gettext('Keep Last')],
|
||||||
['keep-daily', gettext('Keep Daily')],
|
['keep-hourly', gettext('Keep Hourly')],
|
||||||
['keep-monthly', gettext('Keep Monthly')],
|
|
||||||
].map(
|
].map(
|
||||||
name => ({
|
name => ({
|
||||||
xtype: 'displayfield',
|
xtype: 'displayfield',
|
||||||
@ -736,8 +735,26 @@ Ext.define('PVE.dc.BackupInfo', {
|
|||||||
labelWidth: 110,
|
labelWidth: 110,
|
||||||
},
|
},
|
||||||
items: [
|
items: [
|
||||||
['keep-hourly', gettext('Keep Hourly')],
|
['keep-daily', gettext('Keep Daily')],
|
||||||
['keep-weekly', gettext('Keep Weekly')],
|
['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')],
|
['keep-yearly', gettext('Keep Yearly')],
|
||||||
].map(
|
].map(
|
||||||
name => ({
|
name => ({
|
||||||
|
Loading…
Reference in New Issue
Block a user