ui: sync job: expose new encrypted and verified only flags

Allows the user to set the encrypted/verified only flags in the
advanced settings of a sync job edit window.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Link: https://lore.proxmox.com/pbs-devel/20250404132106.388829-6-c.ebner@proxmox.com
This commit is contained in:
Christian Ebner 2025-04-04 15:21:06 +02:00 committed by Thomas Lamprecht
parent f9270de9ef
commit 3f1e103904

View File

@ -400,6 +400,30 @@ Ext.define('PBS.window.SyncJobEdit', {
value: false,
},
],
advancedColumn2: [
{
fieldLabel: gettext('Encrypted snapshots only'),
xtype: 'proxmoxcheckbox',
name: 'encrypted-only',
autoEl: {
tag: 'div',
'data-qtip': gettext('Sync only encrypted backup snapshots, exclude others.'),
},
uncheckedValue: false,
value: false,
},
{
fieldLabel: gettext('Verified snapshots only'),
xtype: 'proxmoxcheckbox',
name: 'verified-only',
autoEl: {
tag: 'div',
'data-qtip': gettext('Sync only verified backup snapshots, exclude others.'),
},
uncheckedValue: false,
value: false,
},
],
},
{
xtype: 'inputpanel',