You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2013/08/29 15:10:33 UTC
[2/2] git commit: AMBARI-3050 Javascript error during WebHCat
start/stop. (atkach)
AMBARI-3050 Javascript error during WebHCat start/stop. (atkach)
Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/214e1321
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/214e1321
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/214e1321
Branch: refs/heads/trunk
Commit: 214e13211aff9f478b1cf49bd1e103b3c8ad679e
Parents: c8e2dec
Author: atkach <an...@gmail.com>
Authored: Thu Aug 29 16:09:18 2013 +0300
Committer: atkach <an...@gmail.com>
Committed: Thu Aug 29 16:09:18 2013 +0300
----------------------------------------------------------------------
ambari-web/app/templates/main/service/info/summary.hbs | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/214e1321/ambari-web/app/templates/main/service/info/summary.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/info/summary.hbs b/ambari-web/app/templates/main/service/info/summary.hbs
index c77492e..6875793 100644
--- a/ambari-web/app/templates/main/service/info/summary.hbs
+++ b/ambari-web/app/templates/main/service/info/summary.hbs
@@ -41,10 +41,9 @@
<table id="summary-info" class="table no-borders table-condensed">
<tbody>
{{#if view.noTemplateService}}
+ {{view view.sumMasterComponentView}}
{{#each component in view.components}}
- {{#if component.isMaster}}
- {{view view.sumMasterComponentView}}
- {{else}}
+ {{#unless component.isMaster}}
<tr>
<td class="summary-label">{{component.displayName}}{{#if view.hasManyClients}}s{{/if}}</td>
<td>
@@ -55,7 +54,7 @@
</div>
</td>
</tr>
- {{/if}}
+ {{/unless}}
{{/each}}
{{/if}}
{{#if view.serviceStatus.hdfs}}