summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.editor.xml
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-08-05 17:41:23 +0200
committerqsm-odoo <qsm@odoo.com>2016-08-19 17:44:27 +0200
commit3c98c78fc75da13398826ed2ecb5b126c4f57fd1 (patch)
tree4e643df2b67066abd933d901ab90f1bc198d7d4b /addons/website/static/src/xml/website.editor.xml
parent0ab08050b9a2333a1f0793a524b56173cb3c3e3f (diff)
[IMP] website: allow to navigate through menus in edit mode
Now, when clicking on a menu item while being in edit mode, a modal opens asking if we want to go to that page, edit that page, edit the menu or do nothing (it only allowed to edit the menu item before).
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
-rw-r--r--addons/website/static/src/xml/website.editor.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index 6915cc39432..1b2b8266764 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -21,4 +21,9 @@
<p class="lead">Let's start designing.</p>
<div class="o_tooltip_container">Follow the <div class="o_tooltip bottom"/> signs to start.</div>
</div>
+
+ <div t-name="website.leaving_current_page_edition">
+ <p>You are leaving the current page. What would you like to do ?</p>
+ <p class="text-muted">* Note that your current changes will be automatically saved.</p>
+ </div>
</templates>