ui: dc/SyncWindow: realign to sync options

put the checkboxes in a fieldset and reuse their labels

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2022-04-29 12:23:36 +02:00 committed by Thomas Lamprecht
parent cb5507a65c
commit a9faeb43ad

View File

@ -119,26 +119,28 @@ Ext.define('PVE.dc.SyncWindow', {
columnB: [ columnB: [
{ {
xtype: 'displayfield', xtype: 'fieldset',
fieldLabel: gettext('Remove Vanished'), title: gettext('Remove Vanished Options'),
}, items: [
{ {
xtype: 'proxmoxcheckbox', xtype: 'proxmoxcheckbox',
fieldLabel: gettext('ACL'), fieldLabel: gettext('ACL'),
name: 'remove-vanished-acl', name: 'remove-vanished-acl',
boxLabel: gettext('Remove ACLs of users and groups which are not in the sync response.'), boxLabel: gettext('Remove ACLs of vanished users and groups.'),
}, },
{ {
xtype: 'proxmoxcheckbox', xtype: 'proxmoxcheckbox',
fieldLabel: gettext('Entry'), fieldLabel: gettext('Entry'),
name: 'remove-vanished-entry', name: 'remove-vanished-entry',
boxLabel: gettext('Remove users and groups that are not in the sync response.'), boxLabel: gettext('Remove vanished user and group entries.'),
}, },
{ {
xtype: 'proxmoxcheckbox', xtype: 'proxmoxcheckbox',
fieldLabel: gettext('Properties'), fieldLabel: gettext('Properties'),
name: 'remove-vanished-properties', name: 'remove-vanished-properties',
boxLabel: gettext('Remove user-properties that are not in the sync response.'), boxLabel: gettext('Remove properties from vanished users.'),
},
],
}, },
{ {
xtype: 'displayfield', xtype: 'displayfield',