You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by on...@apache.org on 2014/12/15 15:22:41 UTC

ambari git commit: AMBARI-8710. "Manage Ambari" option does not appear (onechiporenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk 59442e3ba -> 597c31733


AMBARI-8710. "Manage Ambari" option does not appear (onechiporenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/597c3173
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/597c3173
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/597c3173

Branch: refs/heads/trunk
Commit: 597c31733db8a8616d1d41321201eecc6dc3cbd1
Parents: 59442e3
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Mon Dec 15 15:58:03 2014 +0200
Committer: Oleg Nechiporenko <on...@apache.org>
Committed: Mon Dec 15 15:58:03 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/templates/application.hbs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/597c3173/ambari-web/app/templates/application.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/application.hbs b/ambari-web/app/templates/application.hbs
index 393c83d..818c3e9 100644
--- a/ambari-web/app/templates/application.hbs
+++ b/ambari-web/app/templates/application.hbs
@@ -57,12 +57,12 @@
               </button>
               <ul class="dropdown-menu">
                   <li><a href="" {{action showAboutPopup target="controller"}}>{{t app.aboutAmbari}}</a></li>
+                {{#if isClusterDataLoaded}}
                   {{#isAccessible upgrade_ONLY_ADMIN}}
                     <li><a href="" {{action goToAdminView target="controller"}}>{{t app.manageAmbari}}</a></li>
                   {{/isAccessible}}
-                {{#if isClusterDataLoaded}}
                   {{#isAccessible upgrade_ADMIN}}
-                      <li><a href="" {{action showSettingsPopup target="controller"}}>{{t app.settings}}</a></li>
+                    <li><a href="" {{action showSettingsPopup target="controller"}}>{{t app.settings}}</a></li>
                   {{/isAccessible}}
                 {{/if}}
                   <li class="break"></li>