From b65cb86697debe1ad3043483d3aafac40dd9c9a4 Mon Sep 17 00:00:00 2001 From: Romain Derie Date: Tue, 8 May 2018 17:30:23 +0200 Subject: [IMP] website: remove page creation in menu manager + menu container This commit: 1. removed the possibility to create page from the menu manager. The usability of this feature wasn't great since create menu as a new page would redirect to that newly created page without saving the menu manager state. Plus, there is already the 'NEW' button on the navbar to create a new page, the menu manager should, as its name hint, only manage menus. 2. Handle a new case (officially at least) of menu: menu container. Those menu are simply menus with '#' as URL. It will be usefull to create a menu as a dropdown list container. Note: We should take care of a menu's URL being updated to '#' to avoid the menu's page URL to be also edited to '#'. opw-1825883 & opw-1824263 --- addons/website/static/src/xml/website.contentMenu.xml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'addons/website/static/src/xml/website.contentMenu.xml') diff --git a/addons/website/static/src/xml/website.contentMenu.xml b/addons/website/static/src/xml/website.contentMenu.xml index 82746308701..57448d29082 100644 --- a/addons/website/static/src/xml/website.contentMenu.xml +++ b/addons/website/static/src/xml/website.contentMenu.xml @@ -50,17 +50,9 @@ - -
- -
-
- -
-
- -
-
-
+ + + Hint: Simply type '#' to create a container menu + -- cgit v1.2.3