mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
web_chatter_position: create module
This commit is contained in:
20
web_chatter_position/views/web.xml
Normal file
20
web_chatter_position/views/web.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<template id="webclient_bootstrap" inherit_id="web.webclient_bootstrap">
|
||||
<xpath expr="//t[@t-set='body_classname']" position="attributes">
|
||||
<attribute
|
||||
name="t-value"
|
||||
add="+ ' o_chatter_position_' + (request.env.user.chatter_position or 'bottom')"
|
||||
separator=" "
|
||||
/>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="view_web_layout" inherit_id="web.layout" name="View Layout">
|
||||
<xpath expr="//meta[last()]" position="after">
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, user-scalable=no"
|
||||
/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user