ui: add verify-schedule field to edit datastore form

Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
This commit is contained in:
Hannes Laimer 2020-09-18 11:00:51 +02:00 committed by Dietmar Maurer
parent 2b67de2e3f
commit 43f627ba92
2 changed files with 12 additions and 2 deletions

View File

@ -11,8 +11,9 @@ Ext.define('pbs-datastore-list', {
Ext.define('pbs-data-store-config', { Ext.define('pbs-data-store-config', {
extend: 'Ext.data.Model', extend: 'Ext.data.Model',
fields: [ fields: [
'name', 'path', 'comment', 'gc-schedule', 'prune-schedule', 'keep-last', 'name', 'path', 'comment', 'gc-schedule', 'prune-schedule',
'keep-hourly', 'keep-daily', 'keep-weekly', 'keep-monthly', 'keep-yearly', 'verify-schedule', 'keep-last', 'keep-hourly', 'keep-daily',
'keep-weekly', 'keep-monthly', 'keep-yearly',
], ],
proxy: { proxy: {
type: 'proxmox', type: 'proxmox',

View File

@ -71,6 +71,15 @@ Ext.define('PBS.DataStoreEdit', {
deleteEmpty: '{!isCreate}', deleteEmpty: '{!isCreate}',
}, },
}, },
{
xtype: 'pbsCalendarEvent',
name: 'verify-schedule',
fieldLabel: gettext("Verify Schedule"),
emptyText: gettext('none'),
cbind: {
deleteEmpty: '{!isCreate}',
},
},
], ],
columnB: [ columnB: [
{ {