[init/add] generic backend theme
This commit is contained in:
12
muk_web_theme-19/muk_web_appsbar/templates/webclient.xml
Normal file
12
muk_web_theme-19/muk_web_appsbar/templates/webclient.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<odoo>
|
||||
|
||||
<template id="webclient_bootstrap" name="Web Client" inherit_id="web.webclient_bootstrap">
|
||||
<xpath expr="//t[@t-set='body_classname']" position="after">
|
||||
<t t-set="body_sidebar_classname" t-value="'mk_sidebar_type_' + request.env.user.sidebar_type or 'large'"/>
|
||||
<t t-set="body_classname" t-value="'%s %s' % (body_classname, body_sidebar_classname)"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user