changeset 3282:2d22c0da2c43 beta

top menu: 'Repositories' is really also a 'Home' button 'Repositories' had a href="#" but it wasn't used - the sub menu is loaded and shown when hovering. The '/' front page is a more verbose view of repositories. It thus make sense to let 'Repositories' point there.
author Mads Kiilerich <madski@unity3d.com>
date Thu, 24 Jan 2013 12:23:52 +0100
parents 2ca398c8effc
children a34b98423de7
files rhodecode/templates/base/base.html
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/base/base.html	Wed Jan 30 18:32:54 2013 +0100
+++ b/rhodecode/templates/base/base.html	Thu Jan 24 12:23:52 2013 +0100
@@ -147,8 +147,8 @@
         %>
         <ul id="quick">
           <!-- repo switcher -->
-          <li>
-              <a class="menu_link" id="repo_switcher" title="${_('Switch repository')}" href="#">
+          <li ${is_current('home')}>
+              <a class="menu_link" id="repo_switcher" title="${_('Switch repository')}" href="${h.url('home')}">
               <span class="icon">
                   <img src="${h.url('/images/icons/database.png')}" alt="${_('Products')}" />
               </span>