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/02/13 17:12:01 UTC

git commit: AMBARI-4660. Hide Bulk menu for non-admin users. (onechiporenko)

Updated Branches:
  refs/heads/trunk 9537488e7 -> d377fe218


AMBARI-4660. Hide Bulk menu for non-admin users. (onechiporenko)


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

Branch: refs/heads/trunk
Commit: d377fe2189be88e5df619f88669f6028cbe32248
Parents: 9537488
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Thu Feb 13 17:55:00 2014 +0200
Committer: Oleg Nechiporenko <on...@apache.org>
Committed: Thu Feb 13 18:11:52 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/templates/main/host.hbs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/d377fe21/ambari-web/app/templates/main/host.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/host.hbs b/ambari-web/app/templates/main/host.hbs
index 6a7e962..5f9544b 100644
--- a/ambari-web/app/templates/main/host.hbs
+++ b/ambari-web/app/templates/main/host.hbs
@@ -20,7 +20,9 @@
 
   <div class="box-header row">
     <div class="hosts-actions pull-left">
-      {{view App.HostTableMenuView}}
+      {{#if App.isAdmin}}
+        {{view App.HostTableMenuView}}
+      {{/if}}
     </div>
     <div class="health-status-bar pull-left">
       {{#view view.statusFilter categoriesBinding="view.categories"}}