You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
777 B

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <odoo>
  3. <template id="webclient_bootstrap" name="Web Client" inherit_id="web.webclient_bootstrap">
  4. <xpath expr="//t[@t-set='head']" position="after">
  5. <t t-set="head_web_theme">
  6. <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
  7. </t>
  8. <t t-set="head" t-value="head_web_theme + (head or '')"/>
  9. </xpath>
  10. <xpath expr="//t[@t-set='body_classname']" position="after">
  11. <t t-set="body_sidebar_classname" t-value="'mk_sidebar_type_' + request.env.user.sidebar_type or 'small'"/>
  12. <t t-set="body_classname" t-value="'%s %s' % (body_classname, body_sidebar_classname)"/>
  13. </xpath>
  14. </template>
  15. </odoo>