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/29 10:41:28 UTC

[2/3] ambari git commit: AMBARI-13622 Incorrect validation shown while enabling ranger plugin for storm service. (ababiichuk)

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 <ab...@cybervisiontech.com>
Authored: Thu Oct 29 11:13:16 2015 +0200
Committer: aBabiichuk <ab...@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}}