incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [11/11] git commit: Implement tags for project detail view
Date Tue, 24 Jul 2012 22:28:01 GMT
Implement tags for project detail view


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/ea35f48d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/ea35f48d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/ea35f48d

Branch: refs/heads/vpc
Commit: ea35f48d7e42a07463592328759078cb7a2307df
Parents: a00456b
Author: bfederle <bfederle@gmail.com>
Authored: Mon Jul 23 15:05:00 2012 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Tue Jul 24 15:23:58 2012 -0700

----------------------------------------------------------------------
 ui/scripts/projects.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/ea35f48d/ui/scripts/projects.js
----------------------------------------------------------------------
diff --git a/ui/scripts/projects.js b/ui/scripts/projects.js
index 6a99939..2ece194 100644
--- a/ui/scripts/projects.js
+++ b/ui/scripts/projects.js
@@ -756,6 +756,7 @@
                 }
               }
             },
+
             tabFilter: function(args) {
               var project = args.context.projects[0];
               var projectOwner = project.account;
@@ -791,6 +792,9 @@
                     state: { label: 'label.state' }
                   }
                 ],
+
+                tags: cloudStack.api.tags({ resourceType: 'Project', contextId: 'projects'
}),
+
                 dataProvider: function(args) {
                   var projectID = args.context.projects[0].id;
 


Mime
View raw message