ui: rename pveEditPruneInputPanel to pveBackupJobPrunePanel

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-09-08 12:38:03 +02:00
parent 6022f36fd0
commit 1f30e66155
4 changed files with 6 additions and 6 deletions

View File

@ -79,7 +79,7 @@ JSSRC= \
grid/Replication.js \ grid/Replication.js \
grid/ResourceGrid.js \ grid/ResourceGrid.js \
panel/ConfigPanel.js \ panel/ConfigPanel.js \
panel/EditPruneInputPanel.js \ panel/BackupJobPrune.js \
panel/HealthWidget.js \ panel/HealthWidget.js \
panel/IPSet.js \ panel/IPSet.js \
panel/NotesView.js \ panel/NotesView.js \

View File

@ -368,7 +368,7 @@ Ext.define('PVE.dc.BackupEdit', {
], ],
}, },
{ {
xtype: 'pveEditPruneInputPanel', xtype: 'pveBackupJobPrunePanel',
title: gettext('Retention'), title: gettext('Retention'),
isCreate: me.isCreate, isCreate: me.isCreate,
keepAllDefaultForCreate: false, keepAllDefaultForCreate: false,

View File

@ -2,9 +2,9 @@
* Input panel for prune settings with a keep-all option intended to be used as * Input panel for prune settings with a keep-all option intended to be used as
* part of an edit/create window. * part of an edit/create window.
*/ */
Ext.define('PVE.panel.EditPruneInputPanel', { Ext.define('PVE.panel.BackupJobPrune', {
extend: 'Proxmox.panel.PruneInputPanel', extend: 'Proxmox.panel.PruneInputPanel',
xtype: 'pveEditPruneInputPanel', xtype: 'pveBackupJobPrunePanel',
mixins: ['Proxmox.Mixin.CBind'], mixins: ['Proxmox.Mixin.CBind'],
onlineHelp: 'vzdump_retention', onlineHelp: 'vzdump_retention',
@ -70,7 +70,7 @@ Ext.define('PVE.panel.EditPruneInputPanel', {
boxLabel: gettext('Keep all backups'), boxLabel: gettext('Keep all backups'),
listeners: { listeners: {
change: function(field, newValue) { change: function(field, newValue) {
let panel = field.up('pveEditPruneInputPanel'); let panel = field.up('pveBackupJobPrunePanel');
panel.updateComponents(); panel.updateComponents();
}, },
}, },

View File

@ -97,7 +97,7 @@ Ext.define('PVE.storage.BaseEdit', {
items: [ items: [
me.ipanel, me.ipanel,
{ {
xtype: 'pveEditPruneInputPanel', xtype: 'pveBackupJobPrunePanel',
title: gettext('Backup Retention'), title: gettext('Backup Retention'),
isCreate: me.isCreate, isCreate: me.isCreate,
keepAllDefaultForCreate: true, keepAllDefaultForCreate: true,