8000 [FIX] howto/website_themes: Layout - Header/Footer typo · odoo/documentation@f59891b · GitHub
[go: up one dir, main page]

Skip to content

Commit f59891b

Browse files
committed
[FIX] howto/website_themes: Layout - Header/Footer typo
closes #13404 X-original-commit: d943b18 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com> Signed-off-by: Brandon Mercier (bram) <bram@odoo.com>
1 parent 85bf5f0 commit f59891b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/developer/howtos/website_themes/layout.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -443,11 +443,11 @@ Use the following code to add an option for your new custom header on the Websit
443443
.. code-block:: xml
444444
:caption: ``/website_airproof/views/website_templates.xml``
445445
446-
<template id="template_footer_opt" inherit_id="website.snippet_options" name="Footer Template - Option">
447-
<xpath expr="//we-select[@data-variable='footer-template']" position="inside">
446+
<template id="template_header_opt" inherit_id="website.snippet_options" name="Header Template - Option">
447+
<xpath expr="//we-select[@data-variable='header-template']" position="inside">
448448
<we-button title="airproof"
449-
data-customize-website-views="website_airproof.footer"
450-
data-customize-website-variable="'airproof'" data-img="/website_airproof/static/src/img/wbuilder/template_footer_opt.svg"/>
449+
data-customize-website-views="website_airproof.header"
450+
data-customize-website-variable="'airproof'" data-img="/website_airproof/static/src/img/wbuilder/template_header_opt.svg"/>
451451
</xpath>
452452
</template>
453453
@@ -666,12 +666,12 @@ active footer template first.
666666
.. code-block:: xml
667667
:caption: ``/website_airproof/views/website_templates.xml``
668668
669-
<template id="template_header_opt" inherit_id="website.snippet_options" name="Footer Template - Option">
669+
<template id="template_footer_opt" inherit_id="website.snippet_options" name="Footer Template - Option">
670670
<xpath expr="//we-select[@data-variable='footer-template']" position="inside">
671671
<we-button title="airproof"
672672
data-customize-website-views="website_airproof.footer"
673673
data-customize-website-variable="'airproof'"
674-
data-img="/website_airproof/static/src/img/wbuilder/template_header_opt.svg"/>
674+
data-img="/website_airproof/static/src/img/wbuilder/template_footer_opt.svg"/>
675675
</xpath>
676676
</template>
677677

0 commit comments

Comments
 (0)
0