documentation/extensions/odoo_theme/static
Antoine Vandevenne (anv) c81a91db9c [FIX] odoo_theme/switchers: fallback to the original target URL
Attempting to switch from one version to another when navigating
<old_version>/applications/hr/employees.html led to the user being
redirected to /applications/documentation/<new_version>/hr/employees.html
because `hr` was interpreted as a version string, and thus the generated
target URLs of the version switcher were all wrong.

This commit ensures the redirection now falls back onto the original
target URL when all the generated ones point to a 404.

closes 

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-07-07 14:46:26 +02:00
..
fonts [IMP] icon fixes 2023-01-03 08:48:41 +01:00
img [REF][MOV] documentation apocalypse 2021-05-04 15:44:00 +02:00
js [FIX] odoo_theme/switchers: fallback to the original target URL 2023-07-07 14:46:26 +02:00
scss [IMP] odoo_theme: design improvements 2023-04-11 16:43:55 +02:00
style.scss [IMP] odoo_theme: fix menu links 2023-04-14 17:45:59 +02:00