base: show my account as active when we're showing this view.
Wrong an admin was selected before.
This commit is contained in:
parent
d053979d83
commit
9b1888af88
2 changed files with 4 additions and 4 deletions
|
|
@ -13,7 +13,7 @@
|
|||
</%def>
|
||||
|
||||
<%def name="menu_bar_nav()">
|
||||
${self.menu_items(active='admin')}
|
||||
${self.menu_items(active='my_account')}
|
||||
</%def>
|
||||
|
||||
<%def name="main()">
|
||||
|
|
|
|||
|
|
@ -275,9 +275,9 @@
|
|||
|
||||
</%def>
|
||||
|
||||
<%def name="usermenu()">
|
||||
<%def name="usermenu(active=False)">
|
||||
## USER MENU
|
||||
<li id="quick_login_li">
|
||||
<li id="quick_login_li" class="${'active' if active else ''}">
|
||||
<a id="quick_login_link" class="menulink childs">
|
||||
${gravatar(c.rhodecode_user.email, 20)}
|
||||
<span class="user">
|
||||
|
|
@ -425,7 +425,7 @@
|
|||
</li>
|
||||
% endif
|
||||
## render extra user menu
|
||||
${usermenu()}
|
||||
${usermenu(active=(active=='my_account'))}
|
||||
</ul>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue