Repository: ambari
Updated Branches:
  refs/heads/trunk c402daed9 -> 2fbbadf85


AMBARI-13446 Subsection tab having visible invalid property should show error 
count next to subsection tab label. (ababiichuk)


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

Branch: refs/heads/trunk
Commit: 2fbbadf85d86004b0df97747cbf3f46e7a904a2e
Parents: c402dae
Author: aBabiichuk <ababiic...@cybervisiontech.com>
Authored: Fri Oct 16 11:54:32 2015 +0300
Committer: aBabiichuk <ababiic...@cybervisiontech.com>
Committed: Fri Oct 16 14:36:48 2015 +0300

----------------------------------------------------------------------
 .../app/templates/common/configs/service_config_layout_tab.hbs    | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/2fbbadf8/ambari-web/app/templates/common/configs/service_config_layout_tab.hbs
----------------------------------------------------------------------
diff --git 
a/ambari-web/app/templates/common/configs/service_config_layout_tab.hbs 
b/ambari-web/app/templates/common/configs/service_config_layout_tab.hbs
index c1bb92b..4c9dccf 100644
--- a/ambari-web/app/templates/common/configs/service_config_layout_tab.hbs
+++ b/ambari-web/app/templates/common/configs/service_config_layout_tab.hbs
@@ -53,6 +53,9 @@
                                   <li rel='tooltip' {{bindAttr 
class="subSectionTab.isActive:active subSectionTab.isVisible::disabled" 
data-original-title="tab.tooltipMsg"}}>
                                     <a href="#" {{action setActiveSubTab 
subSectionTab target="view"}}{{bindAttr data-target="subSectionTab.id"}} 
data-toggle="tab">
                                       {{subSectionTab.displayName}}
+                                      {{#if subSectionTab.errorsCount}}
+                                        <span class="badge 
badge-important">{{subSectionTab.errorsCount}}</span>
+                                      {{/if}}
                                     </a>
                                   </li>
                                 {{/each}}

Reply via email to