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 <onechipore...@apache.org> Authored: Mon Dec 15 15:58:03 2014 +0200 Committer: Oleg Nechiporenko <onechipore...@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>