3
0
Fork 0

Fix issue with bad position of Version div

When support_branding module is installed and support_branding.release parameter is set, the scrollbar of the menu is moved and the 'Version' indication is not put below the 'Supported by' statement.
8.0
Quentin THEURET 2016-05-24 14:09:42 +02:00
parent e8e2a9da4c
commit c45e0bae1a
1 changed files with 2 additions and 1 deletions

View File

@ -9,8 +9,9 @@
</template> </template>
<template id="menu_secondary" inherit_id="web.menu_secondary"> <template id="menu_secondary" inherit_id="web.menu_secondary">
<xpath expr="//div[@class='oe_footer']" position="inside"> <xpath expr="//div[@class='oe_footer']" position="inside">
<span>, supported by <a target="_new" t-att-href="request.env['ir.config_parameter'].get_param('support_branding.company_url')" t-att-style="'color: ' + request.env['ir.config_parameter'].get_param('support_branding.company_color')"><t t-esc="request.env['ir.config_parameter'].get_param('support_branding.company_name')" /></a></span> <span>, supported by <a target="_new" t-att-href="request.env['ir.config_parameter'].get_param('support_branding.company_url')" t-att-style="'color: ' + request.env['ir.config_parameter'].get_param('support_branding.company_color')"><t t-esc="request.env['ir.config_parameter'].get_param('support_branding.company_name')" /></a>
<div t-if="request.env['ir.config_parameter'].get_param('support_branding.release')">Version <t t-esc="request.env['ir.config_parameter'].get_param('support_branding.release')" /></div> <div t-if="request.env['ir.config_parameter'].get_param('support_branding.release')">Version <t t-esc="request.env['ir.config_parameter'].get_param('support_branding.release')" /></div>
</span>
</xpath> </xpath>
</template> </template>
</data> </data>