[pve-devel] [PATCH pve-manager 2/3] Enable last remaining lxc panels

Emmanuel Kasper e.kasper at proxmox.com
Mon Mar 14 13:35:10 CET 2016


---
 www/manager6/lxc/Config.js | 36 +++++++++++++++++-------------------
 1 file changed, 17 insertions(+), 19 deletions(-)

diff --git a/www/manager6/lxc/Config.js b/www/manager6/lxc/Config.js
index 8902c86..491a5f8 100644
--- a/www/manager6/lxc/Config.js
+++ b/www/manager6/lxc/Config.js
@@ -121,10 +121,8 @@ Ext.define('PVE.lxc.Config', {
 	    defaults: { statusStore: me.statusStore },
 	    items: [
 		{
-//		    title: gettext('Summary'),
-//		    xtype: 'pveLxcSummary',
-		    title: gettext('SummaryTODO'),
-		    xtype: 'panel',
+		    title: gettext('Summary'),
+		    xtype: 'pveLxcSummary',
 		    itemId: 'summary'
 		},
 		{
@@ -156,13 +154,13 @@ Ext.define('PVE.lxc.Config', {
 	    ]
 	});
 
-//	if (caps.vms['VM.Backup']) {
-//	    me.items.push({
-//		title: gettext('Backup'),
-//		xtype: 'pveBackupView',
-//		itemId: 'backup'
-//	    });
-//	}
+	if (caps.vms['VM.Backup']) {
+	    me.items.push({
+		title: gettext('Backup'),
+		xtype: 'pveBackupView',
+		itemId: 'backup'
+	    });
+	}
 
 	if (caps.vms['VM.Console']) {
 	    me.items.push({
@@ -196,14 +194,14 @@ Ext.define('PVE.lxc.Config', {
 	    );
 	}
 
-//	if (caps.vms['Permissions.Modify']) {
-//	    me.items.push({
-//		xtype: 'pveACLView',
-//		title: gettext('Permissions'),
-//		itemId: 'permissions',
-//		path: '/vms/' + vmid
-//	    });
-//	}
+	if (caps.vms['Permissions.Modify']) {
+	    me.items.push({
+		xtype: 'pveACLView',
+		title: gettext('Permissions'),
+		itemId: 'permissions',
+		path: '/vms/' + vmid
+	    });
+	}
 
 	me.callParent();
 
-- 
2.1.4





More information about the pve-devel mailing list