diff --git a/extensions/odoo_theme/layout.html b/extensions/odoo_theme/layout.html index 86930dbea..635120269 100644 --- a/extensions/odoo_theme/layout.html +++ b/extensions/odoo_theme/layout.html @@ -61,7 +61,11 @@ {% block content %}
- + {% set main_classes = [] %} {% if pagename == master_doc %} {# The current page is the homepage #} {% set main_classes = main_classes + ['index'] %} {# TODO ANVFE should be 'o_index' #} @@ -79,7 +83,7 @@ {% set main_classes = main_classes + ['doc-toc'] %} {# TODO EDI do you use this ?#} {% endif %} -
+
{% if pagename == master_doc %} {# Custom landing page on the root of the documentation #} diff --git a/extensions/odoo_theme/layout_templates/header.html b/extensions/odoo_theme/layout_templates/header.html index 6c11dcafe..11bff777a 100644 --- a/extensions/odoo_theme/layout_templates/header.html +++ b/extensions/odoo_theme/layout_templates/header.html @@ -6,7 +6,7 @@
{% include "layout_templates/searchbox.html" %} -
+
{#{% if alternate_languages %}#} {% include "layout_templates/language_switcher.html" %} {#{% endif %}#} diff --git a/extensions/odoo_theme/layout_templates/language_switcher.html b/extensions/odoo_theme/layout_templates/language_switcher.html index d26b063b2..dcbba4a0c 100644 --- a/extensions/odoo_theme/layout_templates/language_switcher.html +++ b/extensions/odoo_theme/layout_templates/language_switcher.html @@ -1,4 +1,4 @@ -
+