ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject ambari git commit: AMBARI-8294 Host Details page: client component list looks strange. (Max Shepel via atkach)
Date Wed, 12 Nov 2014 12:42:48 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk c234e9781 -> 76c27f200


AMBARI-8294 Host Details page: client component list looks strange. (Max Shepel via atkach)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/76c27f20
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/76c27f20
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/76c27f20

Branch: refs/heads/trunk
Commit: 76c27f200c17d4ca9e70acd512917e4c932ea86a
Parents: c234e97
Author: Andrii Tkach <atkach@hortonworks.com>
Authored: Wed Nov 12 14:42:43 2014 +0200
Committer: Andrii Tkach <atkach@hortonworks.com>
Committed: Wed Nov 12 14:42:43 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/templates/main/host/summary.hbs | 20 +++++---------------
 1 file changed, 5 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/76c27f20/ambari-web/app/templates/main/host/summary.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/host/summary.hbs b/ambari-web/app/templates/main/host/summary.hbs
index 0cf8864..77e731c 100644
--- a/ambari-web/app/templates/main/host/summary.hbs
+++ b/ambari-web/app/templates/main/host/summary.hbs
@@ -69,20 +69,10 @@
             <div class="span7 row">
               {{#if view.clients.length}}
                   <div class="span3 align-right">{{t common.clients}}&nbsp;/</div>
-                  <div class="span7">
-                    {{#each component in view.clients}}
-                      {{component.displayName}}
-                      {{#if component.isInstallFailed}}
-                        <span class="health-status-installed icon-warning-sign"></span>
-                      {{/if}}
-                      {{#if component.staleConfigs}}
-                        <span class="text-warning icon-refresh"></span>
-                      {{/if}}
-                      {{#if component.service.isInPassive}}
-                        <span class="icon-medkit"></span>
-                      {{/if}}
-                      {{#unless component.isLast}},{{/unless}}
-                    {{/each}}
+                <div class="span7">
+                  {{#each component in view.clients}}
+                    {{component.displayName}}{{#if component.isInstallFailed}}&nbsp;<span
class="health-status-installed icon-warning-sign"></span>{{/if}}{{#if component.staleConfigs}}&nbsp;<span
class="text-warning icon-refresh"></span>{{/if}}{{#if component.service.isInPassive}}&nbsp;<span
class="icon-medkit"></span>{{/if}}{{#unless component.isLast}},{{/unless}}
+                  {{/each}}
                 </div>
               {{/if}}
             </div>
@@ -144,7 +134,7 @@
                         <dt>{{t common.disk}}:</dt><dd>&nbsp;{{view.content.diskInfoBar}}</dd>
                         <dt>{{t common.memory}}:</dt><dd>&nbsp;{{view.content.memoryFormatted}}</dd>
                         <dt>{{t common.loadAvg}}:</dt><dd>&nbsp;{{view.content.loadAvg}}</dd>
-                        <dt>{{t hosts.host.summary.agentHeartbeat}}:</dt><dd>{{view.timeSinceHeartBeat}}</dd>
+                        <dt>{{t hosts.host.summary.agentHeartbeat}}:</dt><dd>&nbsp;{{view.timeSinceHeartBeat}}</dd>
                     </dl>
                 </div>
             </div>


Mime
View raw message