Files
odoo_source/addons/website/static/src/xml/website.editor.xml
T
qsm-odoo 3c98c78fc7 [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).
2016-08-19 17:44:27 +02:00

30 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-extend="web_editor.dialog.link">
<t t-jquery=".list-group-item.form-group">
this.removeClass('active');
</t>
<t t-jquery=".list-group-item.form-group:has(#link-external)" t-operation="before">
<li class="list-group-item form-group">
<h4 class="list-group-item-heading">
<label for="link-page" class="control-label">
Page
</label>
</h4>
<input class="page form-control url-source" id="link-page" type="hidden"/>
</li>
</t>
</t>
<div t-name="website.homepage_editor_welcome_message" class="container text-center o_homepage_editor_welcome_message">
<h2 class="mt0">Welcome to your <b>Homepage</b>!</h2>
<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>