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.

27 lines
1.4 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <odoo>
  3. <data>
  4. <template
  5. id="support_branding_assets"
  6. name="support_branding assets"
  7. inherit_id="web.assets_backend">
  8. <xpath expr="." position="inside">
  9. <script type="text/javascript" src="/support_branding/static/src/js/support_branding.js"></script>
  10. <link rel="stylesheet" href="/support_branding/static/src/css/support_branding.css" />
  11. </xpath>
  12. </template>
  13. <template id="menu_secondary" inherit_id="web.menu_secondary">
  14. <xpath expr="//div[@class='o_sub_menu_footer']" position="inside">
  15. <span>, supported by
  16. <a target="_new" t-att-href="request.env['ir.config_parameter'].get_param('support_branding.company_url')"
  17. t-att-style="'color: ' + request.env['ir.config_parameter'].get_param('support_branding.company_color')">
  18. <t t-esc="request.env['ir.config_parameter'].get_param('support_branding.company_name')" />
  19. </a>
  20. </span>
  21. <div t-if="request.env['ir.config_parameter'].get_param('support_branding.release')">
  22. Version <t t-esc="request.env['ir.config_parameter'].get_param('support_branding.release')" />
  23. </div>
  24. </xpath>
  25. </template>
  26. </data>
  27. </odoo>