Skip to content
Snippets Groups Projects
Commit d5aa22ea authored by Olivier Dony's avatar Olivier Dony
Browse files

[FIX] website, website_report: backwards compatibility with outdated templates

* Complements commits a6969133 and
21d4b3fd by adding the missing `data-lang`
attribute also in the report layout (in saas-6 a single QWeb
template is used for language links in both reports and website
layouts).

* Fix the "Edit Master" link to work also for outdated templates
where the data-lang attribute is dynamically set to 'default',
and thus cannot be used as URL prefix -> use /website/lang
controller to switch lang instead.
parent 235cd2d0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment