Enable last remaining lxc panels

This commit is contained in:
Emmanuel Kasper 2016-03-14 13:35:10 +01:00 committed by Dietmar Maurer
parent d0e96c0d50
commit 8132a620a1

View File

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