diff options
| author | Cocographique <nmi@odoo.com> | 2020-04-06 12:19:08 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-06-12 17:06:36 +0000 |
| commit | e5a5f98819b3a70b3e2564fb91722cab415ceea9 (patch) | |
| tree | 3afeddd2b30ae78ee5414790f7ec674d684e9b56 /addons/website/data/website_data.xml | |
| parent | cd4eb1fd33f76358849410d3f74581ed2889cf15 (diff) | |
[IMP] website: improve "Popup" snippet
Review the layout to always use standard bootstrap classes so that
future task targeting modal can target s_popup snippets the same way
(for example: our task allowing to open a popup on click on a button).
This also allows to simplify the css and simplify the options. A new
option also now allows to have a backdrop, or not, so that user clicks
are blocked while the popup is opened, or not.
+ Adapt cookie bar accordingly.
Part of https://github.com/odoo/odoo/pull/52698
task-2210730
Co-authored-by: qsm-odoo <qsm@odoo.com>
Diffstat (limited to 'addons/website/data/website_data.xml')
| -rw-r--r-- | addons/website/data/website_data.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/website/data/website_data.xml b/addons/website/data/website_data.xml index a3ab74c5f1d..dc850766c28 100644 --- a/addons/website/data/website_data.xml +++ b/addons/website/data/website_data.xml @@ -684,6 +684,12 @@ <field name="type">url</field> <field name="url">/website/static/src/img/snippets_demo/s_team_member_2.png</field> </record> + <record id="website.s_popup_default_image" model="ir.attachment"> + <field name="public" eval="True"/> + <field name="name">s_popup_default_image.jpg</field> + <field name="type">url</field> + <field name="url">/website/static/src/img/snippets_demo/s_popup.jpg</field> + </record> </data> <data> <record id="group_multi_website" model="res.groups"> |
