Skip to content

Commit

Permalink
[FIX] website: avoid hiding the signin info for users who are not emp…
Browse files Browse the repository at this point in the history
…loyees nor portal users

This happens when you do a plain signup, you
end up as neither an employee nor a portal user,
but should still now when you are logged in.
  • Loading branch information
odony committed Jun 27, 2014
1 parent a7aa853 commit 9c5ecd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/website/views/website_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@
<t t-foreach="website.menu_id.child_id" t-as="submenu">
<t t-call="website.submenu"/>
</t>
<li class="divider" groups="base.group_user,base.group_portal" t-ignore="true"/>
<li class="dropdown" t-ignore="true" groups="base.group_user,base.group_portal">
<li class="divider" t-ignore="true" t-if="website.user_id != user_id"/>
<li class="dropdown" t-ignore="true" t-if="website.user_id != user_id">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<b>
<span t-esc="user_id.name"/>
Expand Down

0 comments on commit 9c5ecd3

Please sign in to comment.