]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: dc/SyncWindow: realign to sync options
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 29 Apr 2022 10:23:36 +0000 (12:23 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 29 Apr 2022 12:23:30 +0000 (14:23 +0200)
put the checkboxes in a fieldset and reuse their labels

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/dc/SyncWindow.js

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