ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ababiic...@apache.org
Subject ambari git commit: AMBARI-13446 Subsection tab having visible invalid property should show error count next to subsection tab label. (ababiichuk)
Date Fri, 16 Oct 2015 11:37:05 GMT
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 <ababiichuk@cybervisiontech.com>
Authored: Fri Oct 16 11:54:32 2015 +0300
Committer: aBabiichuk <ababiichuk@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}}


Mime
View raw message