Author: yusaku
Date: Thu Jun 20 22:59:35 2013
New Revision: 1495227

URL: http://svn.apache.org/r1495227
Log:
AMBARI-2446. Show badge even when the number of running background ops is 0. 
(Oleg Nechiporenko via yusaku)

Modified:
    incubator/ambari/trunk/ambari-web/app/templates/application.hbs

Modified: incubator/ambari/trunk/ambari-web/app/templates/application.hbs
URL: 
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/templates/application.hbs?rev=1495227&r1=1495226&r2=1495227&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/templates/application.hbs (original)
+++ incubator/ambari/trunk/ambari-web/app/templates/application.hbs Thu Jun 20 
22:59:35 2013
@@ -31,6 +31,8 @@
                 {{#with App.router.backgroundOperationsController}}
                   {{#if allOperationsCount}}
                       <span class="label operations-count" {{action 
"showPopup" 
target="App.router.backgroundOperationsController"}}>{{allOperationsCount}}</span>
+                      {{else}}
+                      <span class="label" {{action "showPopup" 
target="App.router.backgroundOperationsController"}}>{{allOperationsCount}}</span>
                   {{/if}}
                 {{/with}}
 


Reply via email to