This is an automated email from the ASF dual-hosted git repository. ababiichuk pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push: new cbf69a8 AMBARI-23705 Need better xpaths for quicklinks when multiple namespaces are present. (ababiichuk) cbf69a8 is described below commit cbf69a8b3066c0a4ecbdf21e753ed1eb22494a3e Author: ababiichuk <ababiic...@hortonworks.com> AuthorDate: Thu Apr 26 16:49:54 2018 +0300 AMBARI-23705 Need better xpaths for quicklinks when multiple namespaces are present. (ababiichuk) --- ambari-web/app/styles/application.less | 2 +- .../app/templates/main/service/info/summary.hbs | 24 ++++++++++++---------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less index 96bfd7b..7ea0f2e 100644 --- a/ambari-web/app/styles/application.less +++ b/ambari-web/app/styles/application.less @@ -1231,7 +1231,7 @@ a.services-menu-blocks{ margin-top: 10px; } .quick-links-block { - .panel-body > a{ + .panel-body a { display: block; margin-bottom: 5px; } diff --git a/ambari-web/app/templates/main/service/info/summary.hbs b/ambari-web/app/templates/main/service/info/summary.hbs index f92a74d..abf458f 100644 --- a/ambari-web/app/templates/main/service/info/summary.hbs +++ b/ambari-web/app/templates/main/service/info/summary.hbs @@ -90,18 +90,20 @@ {{#if view.quickLinksArray}} <!--there are multiple masters eg, HBase multiple masters or HDFS HA enabled--> {{#each group in view.quickLinksArray}} - {{#if group.title}} - <h5 class="ellipsis-overflow-nowrap" - {{bindAttr data-title="group.title" rel="view.tooltipAttribute"}}> - {{group.title}} - </h5> - {{/if}} - {{#each quickLinks in group.links}} - <h6>{{quickLinks.publicHostNameLabel}}</h6> - {{#each quickLinks}} - <a {{bindAttr href="url"}} target="_blank">{{label}}</a> + <div {{QAAttr "{group.title}-quick-links"}}> + {{#if group.title}} + <h5 class="ellipsis-overflow-nowrap" + {{bindAttr data-title="group.title" rel="view.tooltipAttribute"}}> + {{group.title}} + </h5> + {{/if}} + {{#each quickLinks in group.links}} + <h6>{{quickLinks.publicHostNameLabel}}</h6> + {{#each quickLinks}} + <a {{bindAttr href="url"}} target="_blank">{{label}}</a> + {{/each}} {{/each}} - {{/each}} + </div> {{/each}} {{else}} {{#if view.quickLinks}} -- To stop receiving notification emails like this one, please contact ababiic...@apache.org.