summaryrefslogtreecommitdiff
path: root/addons/website_mass_mailing/static/src/xml
diff options
context:
space:
mode:
authorKishan Gajjar <kig@odoo.com>2019-02-05 06:55:25 +0000
committerqsm-odoo <qsm@odoo.com>2019-06-25 09:20:35 +0000
commit34c4b3ad8a23988ecdd8112156ea13da518a2e90 (patch)
tree201c2047661b6cf4f58771da45abba6f9d3857bb /addons/website_mass_mailing/static/src/xml
parent2ad49ec93e39ae5d59ccc17884408870e1c86c5e (diff)
[IMP] website_mass_mailing, *: improve newsletter snippets
* website, mass_mailing, web_editor This commit adds various improvements in newsletter snippets as follow: - Improves UI for newsletter popup. - We only had one popup for all websites. Now, we can have a different popup for each website. - The popup was not appearing on mobile/tablet devices. Now, in mobile/tablet devices, the popup appears automatically after 5secs. - Added the ability to customize the whole editor popup like any editable area (background colors, etc). - User needed to enable popup snippet from the settings. We removed that setting so now popup snippet will always be available. - Added new snippet "Newsletter block". - Display notification after successful subscription the same way for all newsletter snippets. Closes https://github.com/odoo/odoo/pull/29353 task-1903256 closes odoo/odoo#29353 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com> Co-authored-by: qsm-odoo <qsm@odoo.com>
Diffstat (limited to 'addons/website_mass_mailing/static/src/xml')
-rw-r--r--addons/website_mass_mailing/static/src/xml/website_mass_mailing.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/addons/website_mass_mailing/static/src/xml/website_mass_mailing.xml b/addons/website_mass_mailing/static/src/xml/website_mass_mailing.xml
index 56ee3661378..d816d899fe8 100644
--- a/addons/website_mass_mailing/static/src/xml/website_mass_mailing.xml
+++ b/addons/website_mass_mailing/static/src/xml/website_mass_mailing.xml
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="website_mass_mailing.edition.wrapper">
- <div role="dialog" class="modal-dialog modal-md d-block" id="o_newsletter_popup">
- <div class="modal-content o_popup_modal_content">
- <div class="o_popup_modal_body text-center">
- <div class="o_popup_content_dev">
- <div id="wrapper"></div>
- </div>
+ <div class="modal fade show d-block o_newsletter_modal">
+ <div role="dialog" class="modal-dialog modal-dialog-centered">
+ <div class="modal-content">
+ <header>
+ <button type="button" class="close" aria-label="Close" tabindex="-1">×</button>
+ </header>
+ <div id="wrapper" class="modal-body oe_structure"></div>
</div>
</div>
</div>