cloudstack 3.0 new UI - network page - detail view - add Load balancer tab.

This commit is contained in:
Jessica Wang 2012-01-24 10:14:23 -08:00
parent 73805cdc45
commit 1f8ee8a21f
1 changed files with 22 additions and 0 deletions

View File

@ -428,6 +428,14 @@
}
}
},
tabFilter: function(args) {
var hiddenTabs = [];
if(args.context.networks[0].type == "Isolated")
hiddenTabs.push("loadBalancing");
return hiddenTabs;
},
tabs: {
details: {
title: 'Details',
@ -555,6 +563,20 @@
});
}
}
/*
,
//Brian, please duplicate loadBalancing from another place to here
loadBalancing: {
title: 'Load balancer',
dataProvider: function(args) {
args.response.success({
data: {}
});
}
}
*/
}
}
}