[FIX] website: avoid hiding the signin info for users who are not employees 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.
This commit is contained in:
Olivier Dony 2014-06-27 13:04:42 +02:00
parent a7aa853737
commit 9c5ecd3bc4
1 changed files with 2 additions and 2 deletions

View File

@ -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"/>