documentation/extensions/odoo_theme/layout_templates
Olivier Dony 9c16edbf7b [IMP] conf: special case alt lang links for legal terms
Legal terms live under specific URL as their translations are not
managed in the same manner.

Layout is like this:
  /terms/enterprise.html (EN)
  /terms/i18n/enterprise_fr.html (FR)

This commit adapts the generation of alternative languages links for each
"legal terms page", so that it targets the correct i18n link, or goes
back to the canonical EN one, depending on the target language.

closes odoo/documentation#7382

closes odoo/documentation#7384

closes odoo/documentation#7387

Signed-off-by: Olivier Dony (odo) <odo@odoo.com>
2024-01-15 18:16:01 +00:00
..
footer.html [IMP][CSS] Rescale heading fonts 2023-01-05 09:48:41 +01:00
google_analytics.html [REF][MOV] documentation apocalypse 2021-05-04 15:44:00 +02:00
header.html [IMP][CSS] Use BS font-weight variables and fix 2023-01-05 09:48:41 +01:00
homepage.html [MOV] howto/rdtraining: move "Getting started" to the tutorials dir 2023-02-23 14:33:14 +01:00
language_switcher.html [IMP] documentation: legal page design 2022-12-07 18:44:34 +01:00
legal.html [IMP] conf: special case alt lang links for legal terms 2024-01-15 18:16:01 +00:00
menu.html [FIX] *: enforce 1 newline on files end 2022-11-18 20:30:00 +01:00
page_toc.html [IMP][CSS] Rescale heading fonts 2023-01-05 09:48:41 +01:00
searchbox.html [IMP] odoo_theme: add subheader and adapt switchers and searchbar 2022-06-15 11:49:26 +02:00
version_switcher.html [IMP] documentation: legal page design 2022-12-07 18:44:34 +01:00