]>
git.proxmox.com Git - proxmox-widget-toolkit.git/blob - src/panel/PruneKeepPanel.js
1 Ext
.define('Proxmox.panel.PruneInputPanel', {
2 extend
: 'Proxmox.panel.InputPanel',
3 xtype
: 'pmxPruneInputPanel',
4 mixins
: ['Proxmox.Mixin.CBind'],
7 //onlineHelp: 'maintenance_pruning',
11 cbindData: function() {
13 me
.isCreate
= !!me
.isCreate
;
19 xtype
: 'pmxPruneKeepField',
21 fieldLabel
: gettext('Keep Last'),
23 deleteEmpty
: '{!isCreate}',
24 emptyText
: '{keepLastEmptyText}',
28 xtype
: 'pmxPruneKeepField',
30 fieldLabel
: gettext('Keep Daily'),
32 deleteEmpty
: '{!isCreate}',
36 xtype
: 'pmxPruneKeepField',
38 fieldLabel
: gettext('Keep Monthly'),
40 deleteEmpty
: '{!isCreate}',
46 xtype
: 'pmxPruneKeepField',
47 fieldLabel
: gettext('Keep Hourly'),
50 deleteEmpty
: '{!isCreate}',
54 xtype
: 'pmxPruneKeepField',
56 fieldLabel
: gettext('Keep Weekly'),
58 deleteEmpty
: '{!isCreate}',
62 xtype
: 'pmxPruneKeepField',
64 fieldLabel
: gettext('Keep Yearly'),
66 deleteEmpty
: '{!isCreate}',