Browse Source

AMBARI-2446. Show badge even when the number of running background ops is 0. (Oleg Nechiporenko via yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1495227 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 years ago
parent
commit
26e883fd70
1 changed files with 2 additions and 0 deletions
  1. 2 0
      ambari-web/app/templates/application.hbs

+ 2 - 0
ambari-web/app/templates/application.hbs

@@ -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}}