AMBARI-13622 Incorrect validation shown while enabling ranger plugin for storm service. (ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/cf9eb74b Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/cf9eb74b Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/cf9eb74b Branch: refs/heads/trunk Commit: cf9eb74b63f270213724dbae3bf6ee6d00930736 Parents: d18c4e2 Author: aBabiichuk <ababiic...@cybervisiontech.com> Authored: Thu Oct 29 11:13:16 2015 +0200 Committer: aBabiichuk <ababiic...@cybervisiontech.com> Committed: Thu Oct 29 11:40:57 2015 +0200 ---------------------------------------------------------------------- .../config_recommendation_popup.hbs | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/cf9eb74b/ambari-web/app/templates/common/modal_popups/config_recommendation_popup.hbs ---------------------------------------------------------------------- diff --git a/ambari-web/app/templates/common/modal_popups/config_recommendation_popup.hbs b/ambari-web/app/templates/common/modal_popups/config_recommendation_popup.hbs index c45e435..4c057a7 100644 --- a/ambari-web/app/templates/common/modal_popups/config_recommendation_popup.hbs +++ b/ambari-web/app/templates/common/modal_popups/config_recommendation_popup.hbs @@ -43,15 +43,17 @@ {{/if}} {{#if property.error}} {{#if property.isVisible}} - <tr> - <td>{{property.serviceName}}</td> - <td>{{property.name}}</td> - <td>{{property.value}}</td> - <td> - <div class="property-message">{{property.errorMessage}}</div> - <div class="property-description">{{property.description}}</div> - </td> - </tr> + {{#unless property.hiddenBySection}} + <tr> + <td>{{property.serviceName}}</td> + <td>{{property.name}}</td> + <td>{{property.value}}</td> + <td> + <div class="property-message">{{property.errorMessage}}</div> + <div class="property-description">{{property.description}}</div> + </td> + </tr> + {{/unless}} {{/if}} {{/if}} {{/each}}