You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2014/07/16 21:27:05 UTC

git commit: AMBARI-6516. Cluster name and ambari icon should not link at all at Install step. (jaimin)

Repository: ambari
Updated Branches:
  refs/heads/trunk 62f1b3960 -> f9e4207d5


AMBARI-6516. Cluster name and ambari icon should not link at all at Install step. (jaimin)


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

Branch: refs/heads/trunk
Commit: f9e4207d56055503373160ee3cf924b55ef5975d
Parents: 62f1b39
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Wed Jul 16 12:26:36 2014 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Wed Jul 16 12:26:44 2014 -0700

----------------------------------------------------------------------
 ambari-web/app/templates/application.hbs | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f9e4207d/ambari-web/app/templates/application.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/application.hbs b/ambari-web/app/templates/application.hbs
index 07d4318..1c335a4 100644
--- a/ambari-web/app/templates/application.hbs
+++ b/ambari-web/app/templates/application.hbs
@@ -21,8 +21,13 @@
     <div class="navbar navbar-static-top">
       <div class="navbar-inner">
         <div class="container main-container">
-          <a {{translateAttr href="topnav.logo.href"}} class="logo"><img src="/img/logo-white.png" alt="Apache Ambari" title="Apache Ambari"></a>
-          <a class="brand" {{translateAttr href="topnav.logo.href"}} title="Apache Ambari">{{t app.name}}</a>
+          {{#if isClusterDataLoaded}}
+            <a {{translateAttr href="topnav.logo.href"}} class="logo"><img src="/img/logo-white.png" alt="Apache Ambari" title="Apache Ambari"></a>
+            <a class="brand" {{translateAttr href="topnav.logo.href"}} title="Apache Ambari">{{t app.name}}</a>
+          {{else}}
+            <a class="logo"><img src="/img/logo-white.png" alt="Apache Ambari" title="Apache Ambari"></a>
+            <a class="brand" title="Apache Ambari">{{t app.name}}</a>
+          {{/if}}
 
           {{#if isClusterDataLoaded}}
             <a class="brand cluster-name" href="javascript:void(null);" {{bindAttr title="clusterName"}}>