]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: importer: try to better convey what live-import does
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 17:51:26 +0000 (19:51 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 17:51:29 +0000 (19:51 +0200)
It's hard to cram a easy to understandable meaning in the space we
have, to get a bit more space move the warning hint to a separate line
and use the box-label to show an always visible hint about the VM to
be stopped previously.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/window/GuestImport.js

index 944d275ba0af50429e2c921ddf0cac73e5b084f0..4bedc211f64d424dce1b35f9eade48e175cbaefc 100644 (file)
@@ -561,10 +561,17 @@ Ext.define('PVE.window.GuestImport', {
                        fieldLabel: gettext('Live Import'),
                        reference: 'liveimport',
                        isFormField: false,
-                       boxLabelCls: 'pmx-hint black x-form-cb-label',
+                       boxLabel: gettext('Starts a previously stopped VM on Proxmox VE and imports the disks in the background.'),
                        bind: {
                            value: '{liveImport}',
-                           boxLabel: '{liveImportNote}',
+                       },
+                   },
+                   {
+                       xtype: 'displayfield',
+                       userCls: 'pmx-hint black',
+                       value: gettext('Note: If anything goes wrong during the live-import, new data written by the VM may be lost.'),
+                       bind: {
+                           hidden: '{!liveImport}',
                        },
                    },
                    {