diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-09-13 15:52:14 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-09-13 17:36:29 +0200 |
| commit | 0452d332afd10ba1b72b19d4288c689a01ffaaf2 (patch) | |
| tree | 5d53e89771dca681ad5897f6b0743a7cfae3990c /addons | |
| parent | d0022ef2a71df5e6c5cdc0c6d1c3d72672cd55fb (diff) | |
[FIX] website: remove hamburger menu option
Standard option is sadly not good enough to be kept. We will let themes
handle that one their own way.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/website/views/website_templates.xml | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index 10bea3f44ab..568e4410534 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -483,10 +483,7 @@ <!-- Layout Options --> <content string="Layout" title="Choose your layout"> - <list string="Menu"> - <opt string="Top Bar" data-xmlid="" data-reload="/"/> - <opt string="Hamburger" data-xmlid="website.option_hamburger_menu, website.no_autohide_menu" data-reload="/"/> - </list> + <!-- In a <more/> so that themes can easily add other options before --> <more data-depends=""> <list string="Body"> <opt string="Full" data-xmlid="website.option_layout_full_variables" data-enable="option_no_background" data-icon="/website/static/src/img/options/layout-full.png"/> @@ -584,13 +581,6 @@ </xpath> </template> -<!-- Menu options --> -<template id="option_hamburger_menu" inherit_id="website.layout" active="False"> - <xpath expr="//header/nav" position="attributes"> - <attribute name="class" remove="navbar-expand-md" separator=" "/> - </xpath> -</template> - <!-- Layout options --> <template id="option_layout_full_variables" inherit_id="website._assets_primary_variables" active="True"> <xpath expr="//link[last()]" position="after"/> |
