You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by on...@apache.org on 2013/12/24 19:17:13 UTC

git commit: AMBARI-4164. Unexpected routing while clicking on Repositories Tab. (onechiporenko)

Updated Branches:
  refs/heads/branch-1.4.3 8613a870e -> 20907b405


AMBARI-4164. Unexpected routing while clicking on Repositories Tab. (onechiporenko)


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

Branch: refs/heads/branch-1.4.3
Commit: 20907b4059df98afd98cdf4ff078172ab9feb9d9
Parents: 8613a87
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Tue Dec 24 20:13:34 2013 +0200
Committer: Oleg Nechiporenko <on...@apache.org>
Committed: Tue Dec 24 20:17:05 2013 +0200

----------------------------------------------------------------------
 ambari-web/app/templates/main/admin/cluster.hbs | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/20907b40/ambari-web/app/templates/main/admin/cluster.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/admin/cluster.hbs b/ambari-web/app/templates/main/admin/cluster.hbs
index 4d4f226..7ad6b60 100644
--- a/ambari-web/app/templates/main/admin/cluster.hbs
+++ b/ambari-web/app/templates/main/admin/cluster.hbs
@@ -20,10 +20,12 @@
     <div class="header">
       <strong>{{t admin.cluster.stackVersion}}: {{App.currentStackVersion}}
         {{#if App.supports.stackUpgrade}}
-          (<a href="true" {{bindAttr class="view.isUpgradeAvailable::inactive"}}{{action "upgradeStack"}}>
-          {{#if view.isUpgradeAvailable}}{{t admin.cluster.upgradeAvailable}}: {{upgradeVersion}}
-          {{else}} {{t admin.cluster.upgradeUnavailable}}
-          {{/if}}
+          (<a href="#" {{bindAttr class="view.isUpgradeAvailable::inactive"}}{{action "upgradeStack"}}>
+            {{#if view.isUpgradeAvailable}}
+              {{t admin.cluster.upgradeAvailable}}: {{upgradeVersion}}
+            {{else}}
+              {{t admin.cluster.upgradeUnavailable}}
+            {{/if}}
           </a>)
         {{/if}}
       </strong>
@@ -54,7 +56,7 @@
     </div>
     <ul class="nav nav-tabs">
       <li class="active">
-        <a href="#">{{repositories.stackVersion}}</a>
+        <a href="javascript:void(null);">{{repositories.stackVersion}}</a>
       </li>
     </ul>
 
@@ -74,4 +76,4 @@
         {{/each}}
       </tbody>
     </table>
-</div>
\ No newline at end of file
+</div>