You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2015/10/16 13:37:05 UTC
ambari git commit: AMBARI-13446 Subsection tab having visible invalid
property should show error count next to subsection tab label. (ababiichuk)
Repository: ambari
Updated Branches:
refs/heads/branch-2.1 70d72f1c8 -> cbec44688
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/cbec4468
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/cbec4468
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/cbec4468
Branch: refs/heads/branch-2.1
Commit: cbec44688f7af9f8582acb13203237a931dd1bb7
Parents: 70d72f1
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Fri Oct 16 11:54:32 2015 +0300
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Fri Oct 16 14:36:04 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/cbec4468/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}}