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
1.2 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <template id="support_branding_assets" name="support_branding assets" inherit_id="web.assets_backend">
  5. <xpath expr="." position="inside">
  6. <script type="text/javascript" src="/support_branding/static/src/js/support_branding.js"></script>
  7. <link rel="stylesheet" href="/support_branding/static/src/css/support_branding.css" />
  8. </xpath>
  9. </template>
  10. <template id="menu_secondary" inherit_id="web.menu_secondary">
  11. <xpath expr="//div[@class='oe_footer']" position="inside">
  12. <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>
  13. <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>
  14. </span>
  15. </xpath>
  16. </template>
  17. </data>
  18. </openerp>