[FIX] website: display 'Show Sign In' option
Commit 4ff1af4
moves the groups attributes on the ir ui view/template.
So the option is no more available in customize menu if user is logged.
No luck, because when your are not logged you don't have the menu.
Groups on template are the best practice to hide the content of a view
to a group of poeple, except in this case where a customize_show is set
to True.
Maybe that customize_show should ignore groups on ir ui view in a future
version ?
This commit is contained in:
parent
4528ccf148
commit
1bc328317a
|
@ -235,10 +235,10 @@
|
|||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="show_sign_in" customize_show="True" inherit_id="website.layout" name="Show Sign In" groups="base.group_public">
|
||||
<template id="show_sign_in" customize_show="True" inherit_id="website.layout" name="Show Sign In">
|
||||
<xpath expr="//ul[@id='top_menu']" position="inside">
|
||||
<li class="divider"/>
|
||||
<li>
|
||||
<li class="divider" groups="base.group_public"/>
|
||||
<li groups="base.group_public">
|
||||
<a t-attf-href="/web/login">
|
||||
<b>Sign in</b>
|
||||
</a>
|
||||
|
|
Loading…
Reference in New Issue