Commit 231ec8d9 authored by Dietmar Maurer's avatar Dietmar Maurer

copy pool/Config.js from manager to manager5

parent 900abd33
Ext.define('PVE.pool.Config', {
extend: 'PVE.panel.Config',
alias: 'widget.pvePoolConfig',
initComponent: function() {
var me = this;
var pool = me.pveSelNode.data.pool;
if (!pool) {
throw "no pool specified";
}
Ext.apply(me, {
title: Ext.String.format(gettext("Resource Pool") + ': ' + pool),
hstateid: 'pooltab',
items: [
{
title: gettext('Summary'),
xtype: 'pvePoolSummary',
itemId: 'summary'
},
{
title: gettext('Members'),
xtype: 'pvePoolMembers',
pool: pool,
itemId: 'members'
},
{
xtype: 'pveACLView',
title: gettext('Permissions'),
itemId: 'permissions',
path: '/pool/' + pool
}
]
});
me.callParent();
}
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment