diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2019-06-04 07:39:02 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2019-06-04 07:43:14 +0000 |
| commit | 7ff8eb0c15dbdc7fe584b5bfd59a230a2e507d11 (patch) | |
| tree | 224261783e27944b103f8a3510d3f87b53dcc093 | |
| parent | 743434cb2e34515f5454f5a560d368ee9f5f3dc6 (diff) | |
[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>
| -rw-r--r-- | addons/website_event/views/event_templates.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/website_event/views/event_templates.xml b/addons/website_event/views/event_templates.xml index fc70e2ee4b0..7f68f8545ae 100644 --- a/addons/website_event/views/event_templates.xml +++ b/addons/website_event/views/event_templates.xml @@ -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">&times;</button> + Following content will appear on all events + </div> <div class="oe_structure" id="oe_structure_website_event_layout_1"/> </div> </t> |
