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

Skip to content

Commit d943b18

Browse files
committed
[FIX] howto/website_themes: Layout - Header/Footer typo
closes #13391 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
1 parent 4dc9d3d commit d943b18

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
@@ -421,11 +421,11 @@ Use the following code to add an option for your new custom header on the Websit
421421
.. code-block:: xml
422422
:caption: ``/website_airproof/views/website_templates.xml``
423423
424-
<template id="template_footer_opt" inherit_id="website.snippet_options" name="Footer Template - Option">
425-
<xpath expr="//we-select[@data-variable='footer-template']" position="inside">
424+
<template id="template_header_opt" inherit_id="website.snippet_options" name="Header Template - Option">
425+
<xpath expr="//we-select[@data-variable='header-template']" position="inside">
426426
<we-button title="airproof"
427-
data-customize-website-views="website_airproof.footer"
428-
data-customize-website-variable="'airproof'" data-img="/website_airproof/static/src/img/wbuilder/template_footer_opt.svg"/>
427+
data-customize-website-views="website_airproof.header"
428+
data-customize-website-variable="'airproof'" data-img="/website_airproof/static/src/img/wbuilder/template_header_opt.svg"/>
429429
</xpath>
430430
</template>
431431
@@ -634,12 +634,12 @@ active footer template first.
634634
.. code-block:: xml
635635
:caption: ``/website_airproof/views/website_templates.xml``
636636
637-
<template id="template_header_opt" inherit_id="website.snippet_options" name="Footer Template - Option">
637+
<template id="template_footer_opt" inherit_id="website.snippet_options" name="Footer Template - Option">
638638
<xpath expr="//we-select[@data-variable='footer-template']" position="inside">
639639
<we-button title="airproof"
640640
data-customize-website-views="website_airproof.footer"
641641
data-customize-website-variable="'airproof'"
642-
data-img="/website_airproof/static/src/img/wbuilder/template_header_opt.svg"/>
642+
data-img="/website_airproof/static/src/img/wbuilder/template_footer_opt.svg"/>
643643
</xpath>
644644
</template>
645645

0 commit comments

Comments
 (0)
0