mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot: adapt navbar view to v11
This commit is contained in:
parent
3d71619dcd
commit
297d502afd
@ -12,11 +12,14 @@
|
|||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- remove black bar with switcher d'apps -->
|
<!-- remove black bar with app switcher -->
|
||||||
<template id="inherits_no_black_bar" inherit_id="website.user_navbar" name="Inherits No black user_navbar">
|
<template id="inherits_no_black_bar" inherit_id="website.user_navbar" name="Inherits No black user_navbar">
|
||||||
<xpath expr="//nav[@id='oe_main_menu_navbar']" position="attributes">
|
<xpath expr="//nav[@id='oe_main_menu_navbar']" position="attributes">
|
||||||
<attribute name="groups">base.group_website_publisher</attribute>
|
<attribute name="groups">base.group_website_publisher</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
<xpath expr="//t[@t-set='body_classname']" position="attributes">
|
||||||
|
<attribute name="t-value">'o_connected_user' if env['ir.ui.view'].user_has_groups('base.group_website_publisher') else None</attribute>
|
||||||
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
<!-- Frontend repository block -->
|
<!-- Frontend repository block -->
|
||||||
<template id="runbot.repo">
|
<template id="runbot.repo">
|
||||||
@ -158,4 +161,4 @@
|
|||||||
</t>
|
</t>
|
||||||
</template>
|
</template>
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
Loading…
Reference in New Issue
Block a user