ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject git commit: AMBARI-4660. Hide Bulk menu for non-admin users. (onechiporenko)
Date Thu, 13 Feb 2014 16:12:01 GMT
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 <onechiporenko@apache.org>
Authored: Thu Feb 13 17:55:00 2014 +0200
Committer: Oleg Nechiporenko <onechiporenko@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"}}


Mime
View raw message