[FIX] website_event: page edit intent more clear

The bottom of event is shared between all event page and all events.

This is especially misleading when "website menu" with
website_event_track is activated on the event, then we will have several
pages such as "Introduction" / "Location" and depending on if we drop a
widget some pixel too high or two low, it will be only on the current
page or on all events.

With this changeset, when editing there is an information block saying
what part is on all page.

opw-2002163
closes #33857

Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
This commit is contained in:
Nicolas Lempereur
2019-06-04 07:43:14 +00:00
parent 743434cb2e
commit 7ff8eb0c15
@@ -229,6 +229,10 @@
</div>
</div>
<t t-raw="0"/>
<div class="alert alert-info alert-dismissable mt16 css_non_editable_mode_hidden o_not_editable" t-ignore="True" role="status">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">&amp;times;</button>
Following content will appear on all events
</div>
<div class="oe_structure" id="oe_structure_website_event_layout_1"/>
</div>
</t>