[pve-devel] [PATCH manager 1/2] ui: qemu: CD edit: add "Installation media" label when in wizard

Fiona Ebner f.ebner at proxmox.com
Mon Sep 19 11:16:20 CEST 2022


People sometimes expect to select the storage for the VM's disk first.
This should make the context clearer.

Suggested in the community forum:
https://forum.proxmox.com/threads/75219/post-498758

Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
 www/manager6/qemu/CDEdit.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/www/manager6/qemu/CDEdit.js b/www/manager6/qemu/CDEdit.js
index fc7a59cc..f409fa53 100644
--- a/www/manager6/qemu/CDEdit.js
+++ b/www/manager6/qemu/CDEdit.js
@@ -76,6 +76,13 @@ Ext.define('PVE.qemu.CDInputPanel', {
 	    items.push(me.bussel);
 	}
 
+	if (me.insideWizard) {
+	    items.push({
+		xtype: 'displayfield',
+		value: `${gettext('Installation media')}:`,
+	    });
+	}
+
 	items.push({
 	    xtype: 'radiofield',
 	    name: 'mediaType',
-- 
2.30.2






More information about the pve-devel mailing list