For ova import, the help text for live-import is not really fitting, as there is no 'old' vm that needs to be stopped, etc.
So show a more appropriate one if we import an ova Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> --- new in v7 www/manager6/window/GuestImport.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/manager6/window/GuestImport.js b/www/manager6/window/GuestImport.js index 7c263241..022e85a3 100644 --- a/www/manager6/window/GuestImport.js +++ b/www/manager6/window/GuestImport.js @@ -315,6 +315,8 @@ Ext.define('PVE.window.GuestImport', { liveImportNote: get => !get('liveImport') ? '' : gettext('Note: If anything goes wrong during the live-import, new data written by the VM may be lost.'), isWindows: get => (get('os') ?? '').startsWith('w'), + liveImportText: get => get('isOva') ? gettext('Starts a VM and imports the disks in the background') + : gettext('Starts a previously stopped VM on Proxmox VE and imports the disks in the background.'), }, }, @@ -582,9 +584,9 @@ Ext.define('PVE.window.GuestImport', { fieldLabel: gettext('Live Import'), reference: 'liveimport', isFormField: false, - boxLabel: gettext('Starts a previously stopped VM on Proxmox VE and imports the disks in the background.'), bind: { value: '{liveImport}', + boxLabel: '{liveImportText}', }, }, { -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel