[pve-devel] [PATCH pve-manager 3/3] Do not display the internal value we use for storing ostypes

Emmanuel Kasper e.kasper at proxmox.com
Thu Apr 21 11:50:24 CEST 2016


Strings like 'Linux 4.X/3.X/2.6 Kernel' are difficult
enough to visually parse, so don't append the internal
representation (l26) at the end: it does not bring any relevant
information to the user, and we usually don't display
internal representations in the GUI.
---
 www/manager6/Utils.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index c87f3be..c51fbcd 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -100,7 +100,7 @@ Ext.define('PVE.Utils', { statics: {
 	}
 	var text = PVE.Utils.kvm_ostypes[value];
 	if (text) {
-	    return text + ' (' + value + ')';
+	    return text;
 	}
 	return value;
     },
-- 
2.1.4




More information about the pve-devel mailing list