ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject git commit: AMBARI-6079. Selected hosts counter on Hosts Actions menu is missing. (onechiporenko)
Date Wed, 11 Jun 2014 10:34:29 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk f033a869f -> d9682afc7


AMBARI-6079. Selected hosts counter on Hosts Actions menu is missing. (onechiporenko)


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

Branch: refs/heads/trunk
Commit: d9682afc7bd94c196175bf89fbccdc174b4d4fe5
Parents: f033a86
Author: Oleg Nechiporenko <onechiporenko@apache.org>
Authored: Wed Jun 11 13:32:10 2014 +0300
Committer: Oleg Nechiporenko <onechiporenko@apache.org>
Committed: Wed Jun 11 13:32:10 2014 +0300

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/d9682afc/ambari-web/app/templates/main/host/bulk_operation_menu.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/host/bulk_operation_menu.hbs b/ambari-web/app/templates/main/host/bulk_operation_menu.hbs
index c5da03a..ab6974e 100644
--- a/ambari-web/app/templates/main/host/bulk_operation_menu.hbs
+++ b/ambari-web/app/templates/main/host/bulk_operation_menu.hbs
@@ -24,8 +24,8 @@
       <li class="divider"></li>
     {{/if}}
     <li class="dropdown-submenu">
-      <a {{bindAttr class="view.parentView.selectedCategory.hasHosts::disabled"}} tabindex="-1"
href="javascript:void(null);">{{view.menuItems.s.label}}
-        ({{view.parentView.selectedCategory.hostsCount}})</a>
+      <a {{bindAttr class="view.parentView.showSelectedFilter::disabled"}} tabindex="-1"
href="javascript:void(null);">{{view.menuItems.s.label}}
+        ({{view.parentView.selectedHosts.length}})</a>
         <ul {{bindAttr class="view.parentView.selectedCategory.hasHosts::hidden :dropdown-menu"}}>
           {{#view view.hostItemView}}
               <a href="javascript:void(null);">{{view.label}}</a>
@@ -61,7 +61,7 @@
     </li>
     <li class="dropdown-submenu">
       <a {{bindAttr class="view.parentView.hasFilteredItems::disabled"}} tabindex="-1"
href="javascript:void(null);">{{view.menuItems.f.label}}
-        ({{view.parentView.filteredContent.length}})</a>
+        ({{view.parentView.filteredCount}})</a>
         <ul {{bindAttr class="view.parentView.hasFilteredItems::hidden :dropdown-menu"}}>
           {{#view view.hostItemView}}
             <a href="javascript:void(null);">{{view.label}}</a>
@@ -97,7 +97,7 @@
     </li>
     <li class="dropdown-submenu">
       <a tabindex="-1" href="javascript:void(null);">{{view.menuItems.a.label}}
-        ({{view.parentView.content.length}})</a>
+        ({{view.parentView.totalCount}})</a>
         <ul class="dropdown-menu">
           {{#view view.hostItemView}}
               <a href="javascript:void(null);">{{view.label}}</a>


Mime
View raw message