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/ce534dba
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ce534dba
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ce534dba

Branch: refs/heads/branch-2.1
Commit: ce534dba0038c31b82694d2d79431429f2714fa6
Parents: b1a2efd
Author: aBabiichuk <[email protected]>
Authored: Thu Oct 29 11:13:16 2015 +0200
Committer: aBabiichuk <[email protected]>
Committed: Thu Oct 29 11:42:48 2015 +0200

----------------------------------------------------------------------
 .../config_recommendation_popup.hbs             | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ce534dba/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}}

Reply via email to