You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/04/17 20:09:15 UTC
[04/25] git commit: updated refs/heads/ui-mixed-zone-management to
c3009e3
CLOUDSTACK-1910: cloudstack UI - make Regions menu visible to regular-user/domain-admin.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8b8a2f21
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8b8a2f21
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8b8a2f21
Branch: refs/heads/ui-mixed-zone-management
Commit: 8b8a2f218c39935633ca58e75bef0e9181a56dcb
Parents: 111a99f
Author: Jessica Wang <je...@citrix.com>
Authored: Tue Apr 16 13:14:58 2013 -0700
Committer: Jessica Wang <je...@citrix.com>
Committed: Tue Apr 16 13:15:31 2013 -0700
----------------------------------------------------------------------
ui/scripts/cloudStack.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8b8a2f21/ui/scripts/cloudStack.js
----------------------------------------------------------------------
diff --git a/ui/scripts/cloudStack.js b/ui/scripts/cloudStack.js
index a8bca91..35969a2 100644
--- a/ui/scripts/cloudStack.js
+++ b/ui/scripts/cloudStack.js
@@ -25,13 +25,13 @@
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "domains", "events", "system", "global-settings", "configuration", "projects", "regions"];
}
else if(isDomainAdmin()) {
- sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "domains", "events", "projects"];
+ sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "domains", "events", "projects", "regions"];
}
else if (g_userProjectsEnabled) {
- sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "events", "projects"];
+ sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "events", "projects", "regions"];
}
else { //normal user
- sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "events"];
+ sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "events", "regions"];
}
if (cloudStack.plugins.length) {