Repository: ambari Updated Branches: refs/heads/trunk 97a5a9470 -> 79fddb7da
AMBARI-5933. Cluster name and ambari icon should link to dashboard page. (yusaku) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/79fddb7d Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/79fddb7d Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/79fddb7d Branch: refs/heads/trunk Commit: 79fddb7daa40fa41d52ff60fcafa59464f3c518c Parents: 97a5a94 Author: Yusaku Sako <[email protected]> Authored: Tue Jul 1 17:08:12 2014 -0700 Committer: Yusaku Sako <[email protected]> Committed: Tue Jul 1 17:09:09 2014 -0700 ---------------------------------------------------------------------- ambari-web/app/messages.js | 2 +- ambari-web/app/templates/application.hbs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/79fddb7d/ambari-web/app/messages.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js index 5aed212..e81ba7a 100644 --- a/ambari-web/app/messages.js +++ b/ambari-web/app/messages.js @@ -333,7 +333,7 @@ Em.I18n.translations = { 'services.alerts.goToService': 'Go to Service', 'services.alerts.goToNagios': 'Go to Nagios Web UI', - 'topnav.logo.href':'http://ambari.apache.org/', + 'topnav.logo.href':'/#/main/dashboard', 'topnav.help.href':'https://cwiki.apache.org/confluence/display/AMBARI/Ambari', 'installer.header':'Cluster Install Wizard', http://git-wip-us.apache.org/repos/asf/ambari/blob/79fddb7d/ambari-web/app/templates/application.hbs ---------------------------------------------------------------------- diff --git a/ambari-web/app/templates/application.hbs b/ambari-web/app/templates/application.hbs index 1ceee1d..07d4318 100644 --- a/ambari-web/app/templates/application.hbs +++ b/ambari-web/app/templates/application.hbs @@ -21,8 +21,8 @@ <div class="navbar navbar-static-top"> <div class="navbar-inner"> <div class="container main-container"> - <a {{translateAttr href="topnav.logo.href"}} class="logo" target="_blank"><img src="/img/logo-white.png" alt="Apache Ambari" title="Apache Ambari"></a> - <a class="brand" {{translateAttr href="topnav.logo.href"}} target="_blank" title="Apache Ambari">{{t app.name}}</a> + <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 class="brand cluster-name" href="javascript:void(null);" {{bindAttr title="clusterName"}}>
