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 2014/11/17 17:17:54 UTC

ambari git commit: AMBARI-8348 Host Details page showing External Host name as the Title on EC2. (atkach)

Repository: ambari
Updated Branches:
  refs/heads/trunk 6dd73517b -> e7cfd66c9


AMBARI-8348 Host Details page showing External Host name as the Title on EC2. (atkach)


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

Branch: refs/heads/trunk
Commit: e7cfd66c93ec60c891c113b82f8f48f030a970a0
Parents: 6dd7351
Author: Andrii Tkach <at...@hortonworks.com>
Authored: Mon Nov 17 18:17:47 2014 +0200
Committer: Andrii Tkach <at...@hortonworks.com>
Committed: Mon Nov 17 18:17:47 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/templates/main/host/details.hbs | 2 +-
 ambari-web/app/templates/main/host/summary.hbs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e7cfd66c/ambari-web/app/templates/main/host/details.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/host/details.hbs b/ambari-web/app/templates/main/host/details.hbs
index 860b4dc..75df5d3 100644
--- a/ambari-web/app/templates/main/host/details.hbs
+++ b/ambari-web/app/templates/main/host/details.hbs
@@ -20,7 +20,7 @@
   <div id="host-details">
     <div class="status-info">
       <span rel="HealthTooltip" {{bindAttr class="view.content.healthClass view.content.healthIconClass"}} {{bindAttr data-original-title="view.content.healthToolTip" }}></span><span
-            class='host-title'>{{unbound view.content.publicHostName}}</span>
+            class='host-title'>{{unbound view.content.hostName}}</span>
       {{#if view.content.criticalAlertsCount}}
         <span class="label label-important alerts-count" {{action "showAlertsPopup" content target="App.router.mainHostController"}}>{{view.content.criticalAlertsCount}}</span>
       {{else}}

http://git-wip-us.apache.org/repos/asf/ambari/blob/e7cfd66c/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 7b2a2f2..ec585eb 100644
--- a/ambari-web/app/templates/main/host/summary.hbs
+++ b/ambari-web/app/templates/main/host/summary.hbs
@@ -127,7 +127,7 @@
                 </div>
                 <div class="host-summary-content">
                     <dl class="dl-horizontal">
-                        <dt>{{t hosts.host.summary.hostname}}:</dt><dd>&nbsp;{{view.content.publicHostName}}</dd>
+                        <dt>{{t hosts.host.summary.hostname}}:</dt><dd>&nbsp;{{view.content.hostName}}</dd>
                         <dt>{{t common.ipAddress}}:</dt><dd>&nbsp;{{view.content.ip}}</dd>
                         <dt>{{t common.os}}:</dt><dd>&nbsp;{{view.content.osType}}&nbsp;({{view.content.osArch}})</dd>
                         <dt>{{t common.cores}}:</dt><dd>&nbsp;{{view.content.coresFormatted}}</dd>