mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
slightly improve root template
This commit is contained in:
@@ -3,9 +3,7 @@
|
||||
|
||||
<div t-name="web.web_client" class="o_web_client">
|
||||
<t t-widget="Navbar" t-props="{inHome:state.inHome,app:state.currentApp}" />
|
||||
<t t-if="state.inHome">
|
||||
<t t-widget="HomeMenu" t-keep-alive="1" t-props="{menuInfo:props.menuInfo}" />
|
||||
</t>
|
||||
<t t-widget="HomeMenu" t-if="state.inHome" t-keep-alive="1" t-props="{menuInfo:props.menuInfo}" />
|
||||
<t t-else="1">
|
||||
<t t-widget="ActionContainer" t-props="{stack:state.stack}" t-keep-alive="1"/>
|
||||
</t>
|
||||
|
||||
@@ -6,8 +6,7 @@ exports[`can be rendered (in home menu) 1`] = `
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class=\\"o_home_menu\\">
|
||||
<div class=\\"o_home_menu\\">
|
||||
<div class=\\"o_apps\\">
|
||||
<a href=\\"#menu_id=96&action_id=131\\" class=\\"o_app\\" data-menu=\\"96\\">
|
||||
<i class=\\"fa fa-comment o_app_icon fa-3x fa-fw\\"></i>
|
||||
@@ -27,7 +26,6 @@ exports[`can be rendered (in home menu) 1`] = `
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\\"o_notification_container\\"></div>
|
||||
<div class=\\"o_loading d-none\\">Loading</div>
|
||||
</div>"
|
||||
|
||||
Reference in New Issue
Block a user