Add to project detail page: cpu,memory,template,storage and VMs count
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3cc3aea4 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3cc3aea4 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3cc3aea4 Branch: refs/heads/master Commit: 3cc3aea4492bdc7b571b5e459c14b4d5b4780e67 Parents: 98228c5 Author: Pierre-Luc Dion <[email protected]> Authored: Mon Aug 8 20:04:55 2016 -0400 Committer: Pierre-Luc Dion <[email protected]> Committed: Mon Aug 8 20:04:55 2016 -0400 ---------------------------------------------------------------------- ui/scripts/projects.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3cc3aea4/ui/scripts/projects.js ---------------------------------------------------------------------- diff --git a/ui/scripts/projects.js b/ui/scripts/projects.js index bfed329..4f992ec 100644 --- a/ui/scripts/projects.js +++ b/ui/scripts/projects.js @@ -1025,6 +1025,28 @@ state: { label: 'label.state' } + }, { + vmtotal: { + label: 'label.total.vms' + }, + memorytotal: { + label: 'label.memory.total' + }, + cputotal: { + label: 'label.total.cpu' + }, + volumetotal: { + label: 'label.volume' + }, + primarystoragetotal: { + label: 'label.primary.storage' + }, + iptotal: { + label: 'label.total.of.ip' + }, + templatetotal: { + label: 'label.template' + } }], tags: cloudStack.api.tags({
