diff --git a/rhodecode/templates/base/base.html b/rhodecode/templates/base/base.html --- a/rhodecode/templates/base/base.html +++ b/rhodecode/templates/base/base.html @@ -3,73 +3,7 @@ - + -
+
<% messages = h.flash.pop_messages() %> % if messages: @@ -92,11 +26,11 @@ % endfor % endif -
-
+
+
${next.main()}
-
+
@@ -107,7 +41,7 @@ ${_('Submit a bug')}

@@ -126,159 +60,143 @@ +<%def name="usermenu()"> +
+
+ + %if c.rhodecode_user.username != 'default' and c.unread_notifications != 0: + + %endif +
+ +
+ <%def name="menu(current=None)"> - <% + <% def is_current(selected): if selected == current: return h.literal('class="current"') %> - %if current not in ['home','admin']: - ##REGULAR MENU + %if current not in ['home','admin']: + ##REGULAR MENU + %else: ##ROOT MENU - %endif + %endif