[pve-devel] [PATCH manager 1/2] show CT in migrate window Title

Dominik Csapak d.csapak at proxmox.com
Tue Apr 5 14:21:10 CEST 2016


shows different title in migration window if vmtype
is not qemu

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/window/Migrate.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/window/Migrate.js b/www/manager6/window/Migrate.js
index d99b47d..c1cee7c 100644
--- a/www/manager6/window/Migrate.js
+++ b/www/manager6/window/Migrate.js
@@ -84,7 +84,7 @@ Ext.define('PVE.window.Migrate', {
 	});
 
 	Ext.apply(me, {
-	    title: gettext('Migrate') + ' VM ' + me.vmid,
+	    title: gettext('Migrate') + ((me.vmtype === 'qemu')?' VM ':' CT ') + me.vmid,
 	    width: 350,
 	    modal: true,
 	    layout: 'auto',
-- 
2.1.4





More information about the pve-devel mailing list