From 745ef9de97544d5c1a97e03be67e903feca40c2a Mon Sep 17 00:00:00 2001 From: Benjamin Vray Date: Tue, 28 Jul 2020 06:52:26 +0000 Subject: [PATCH] [IMP] website, web, portal: new options language selector in footer Add an option to display the language selection inline or with a dropdown. Add an option to choose if language labels are flags, text or both. Part of https://github.com/odoo/odoo/pull/55300 task-2203383 Co-authored-by: qsm-odoo --- addons/portal/views/portal_templates.xml | 43 +++++----- addons/web/views/webclient_templates.xml | 2 +- .../static/src/js/content/website_root.js | 4 +- .../static/src/scss/website.edit_mode.scss | 4 +- addons/website/static/src/scss/website.scss | 11 +++ addons/website/views/snippets/snippets.xml | 17 ++++ addons/website/views/website_templates.xml | 83 +++++++++++++++++-- 7 files changed, 131 insertions(+), 33 deletions(-) diff --git a/addons/portal/views/portal_templates.xml b/addons/portal/views/portal_templates.xml index 7cbfe33844f..642b818981b 100644 --- a/addons/portal/views/portal_templates.xml +++ b/addons/portal/views/portal_templates.xml @@ -40,32 +40,35 @@ + + + + + + + + + + + + + + + + + + +