8000 [FW][FIX] howto/website_themes: Layout - Header/Footer typo by fw-bot · Pull Request #13399 · odoo/documentation · GitHub
[go: up one dir, main page]

Skip to content

[FW][FIX] howto/website_themes: Layout - Header/Footer typo #13399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[FIX] howto/website_themes: Layout - Header/Footer typo
X-original-commit: d943b18
  • Loading branch information
bram-odoo committed May 16, 2025
commit bab64c067f3e95d099b4cf1fb04bf8602e3f87e8
12 changes: 6 additions & 6 deletions content/developer/howtos/website_themes/layout.rst
Original file line number Diff line number Diff line change
Expand Up @@ -443,11 +443,11 @@ Use the following code to add an option for your new custom header on t 9C2E he Websit
.. code-block:: xml
:caption: ``/website_airproof/views/website_templates.xml``

<template id="template_footer_opt" inherit_id="website.snippet_options" name="Footer Template - Option">
<xpath expr="//we-select[@data-variable='footer-template']" position="inside">
<template id="template_header_opt" inherit_id="website.snippet_options" name="Header Template - Option">
<xpath expr="//we-select[@data-variable='header-template']" position="inside">
<we-button title="airproof"
data-customize-website-views="website_airproof.footer"
data-customize-website-variable="'airproof'" data-img="/website_airproof/static/src/img/wbuilder/template_footer_opt.svg"/>
data-customize-website-views="website_airproof.header"
data-customize-website-variable="'airproof'" data-img="/website_airproof/static/src/img/wbuilder/template_header_opt.svg"/>
</xpath>
</template>

Expand Down Expand Up @@ -666,12 +666,12 @@ active footer template first.
.. code-block:: xml
:caption: ``/website_airproof/views/website_templates.xml``

<template id="template_header_opt" inherit_id="website.snippet_options" name="Footer Template - Option">
<template id="template_footer_opt" inherit_id="website.snippet_options" name="Footer Template - Option">
<xpath expr="//we-select[@data-variable='footer-template']" position="inside">
<we-button title="airproof"
data-customize-website-views="website_airproof.footer"
data-customize-website-variable="'airproof'"
data-img="/website_airproof/static/src/img/wbuilder/template_header_opt.svg"/>
data-img="/website_airproof/static/src/img/wbuilder/template_footer_opt.svg"/>
</xpath>
</template>

Expand Down
0