diff options
| -rw-r--r-- | addons/web/views/webclient_templates.xml | 2 | ||||
| -rw-r--r-- | addons/website/views/website_templates.xml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml index c5c90d207f7..b0419b4993e 100644 --- a/addons/web/views/webclient_templates.xml +++ b/addons/web/views/webclient_templates.xml @@ -503,7 +503,7 @@ <div class="row"> <div class="col-sm text-center text-sm-left text-muted"> <t t-call="web.debug_icon"/> - <span class="o_footer_copyright_name mr-2">Copyright &copy; Company name</span> + <span class="o_footer_copyright_name mr-2">Copyright &copy; <span t-field="res_company.name" itemprop="name">Company name</span></span> </div> <div class="col-sm text-center text-sm-right"> <t t-call="web.brand_promotion"/> diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index 31ab7fcde2f..f34a1135fc7 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -172,6 +172,9 @@ <xpath expr="//footer[@id='bottom']" position="attributes"> <attribute name="t-attf-class" add="#{'d-none o_snippet_invisible' if 'footer_visible' in main_object and not main_object.footer_visible else ''}" separator=" "/> </xpath> + <xpath expr="//footer//span[hasclass('o_footer_copyright_name')]" position="replace"> + <span class="o_footer_copyright_name mr-2">Copyright &copy; Company name</span> + </xpath> </template> <template id="custom_code_layout" name="Custom Code Layout" inherit_id="website.layout" priority="55"> |
