[IMP] web_responsive: Document Viewer

This commit is contained in:
Alexandre Díaz
2019-12-24 10:42:20 +01:00
parent 3032cee510
commit 6ff13e8569
9 changed files with 170 additions and 3 deletions

View File

@@ -11,8 +11,8 @@
inherit_id="web.webclient_bootstrap"
name="App Drawer - Web Client"
>
<xpath expr="//*[hasclass('o_main')]" position="attributes">
<attribute name="t-attf-class">o_main o_chatter_position_{{ request.env.user.chatter_position or 'normal' }}</attribute>
<xpath expr="//t[@t-set='body_classname']" position="attributes">
<attribute name="t-value">'o_web_client o_chatter_position_' + (request.env.user.chatter_position or 'normal')</attribute>
</xpath>
</template>