Browse Source

Merge pull request #362 from qtheuret/8.0

Fix issue with bad position of Version div
pull/363/head
Pedro M. Baeza 9 years ago
parent
commit
3f947ac8c5
  1. 3
      support_branding/views/qweb.xml

3
support_branding/views/qweb.xml

@ -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>

Loading…
Cancel
Save