summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.contentMenu.xml
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2018-05-08 17:30:23 +0200
committerRomain Derie <rde@odoo.com>2018-05-09 15:38:58 +0200
commitb65cb86697debe1ad3043483d3aafac40dd9c9a4 (patch)
treee777c807c711edac8861ba02204f0a204e645805 /addons/website/static/src/xml/website.contentMenu.xml
parent285ead28e31ca54e9629d5153d0d03d7b4951535 (diff)
[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
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
-rw-r--r--addons/website/static/src/xml/website.contentMenu.xml16
1 files changed, 4 insertions, 12 deletions
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 @@
</a>
</div>
</div>
-<t t-name="website.contentMenu.dialog.edit.link_menu_options">
- <div class="form-group">
- <label class="control-label col-sm-3">Link</label>
- <div class="col-sm-9">
- <div class="radio">
- <label class="checkbox-inline" for="new_page"><input type="radio" name="link_menu_options" id="new_page" value="new_page" checked="checked"/>New Page</label>
- </div>
- <div class="radio">
- <label class="checkbox-inline" for="url"><input type="radio" name="link_menu_options" id="url" value="url" />Existing Page, URL or Email</label>
- </div>
- </div>
- </div>
+<t t-name="website.contentMenu.dialog.edit.link_menu_hint">
+ <small class="text-muted">
+ Hint: Simply type '#' to create a container menu
+ </small>
</t>
</templates>