diff --git a/extensions/odoo_theme/layout.html b/extensions/odoo_theme/layout.html index 9c869b7a5..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' #} diff --git a/extensions/odoo_theme/static/js/menu.js b/extensions/odoo_theme/static/js/menu.js index 47b23f92e..d1a0b20e9 100644 --- a/extensions/odoo_theme/static/js/menu.js +++ b/extensions/odoo_theme/static/js/menu.js @@ -43,4 +43,14 @@ } }; + /** + * Mobile: Toggle open/close sidebar on click of nav button (&& on swipe left to right?). + * + * + * `o_active_toc_entry` class, and their related (parent) TOC entry list (