diff options
| author | Romain Derie <rde@odoo.com> | 2019-10-28 11:08:44 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-12-06 15:14:39 +0000 |
| commit | 699890d3f0b9d5e4421ffb9b423a8dfa67ad469e (patch) | |
| tree | e0624a98f4af4794a1bddd0e621733f76469f668 /addons/website/data/website_data.xml | |
| parent | 75ebe51131970a77830bb6867aa72c855b66c980 (diff) | |
[IMP] web_editor, website: add new 'Countdown' snippet
This commit introduces a new snippet: Countdown.
The countdown snippet is composed of 4 circle countdown, one for every time
unit: seconds, minutes, hours and days.
When countdown ends, the user can chose between 3 possible actions:
1. Nothing
2. Show message: show a message once the countdown ends.
The message will be displayed bellow the countdown (stopped on 0) or will
replace the countdown depending on the option selected.
The message can be edited through the website builder.
3. Redirect: redirect the user to the chosen URL. If the user is on the page at
the exact moment the countdown reach 0, the user will be redirected
automatically. If the user lands on the page after the countdown has reached
0, there will be no redirection and the link will be shown bellow the
countdown (stopped on 0) or will replace the countdown depending on the
option selected.
The countdown layout can be customized in multiple ways:
1. By choosing to hide some time units. For instance, seconds can be hidden or
only days shown.
2. By changing its size between small/medium/large.
3. By changing its basic design (circle, boxes, clean).
4. By changing its advanced design (shape, background, progress bar..)
task-2093081
closes odoo/odoo#39773
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website/data/website_data.xml')
| -rw-r--r-- | addons/website/data/website_data.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/website/data/website_data.xml b/addons/website/data/website_data.xml index a1a9c9d689b..f768ae89f4b 100644 --- a/addons/website/data/website_data.xml +++ b/addons/website/data/website_data.xml @@ -301,6 +301,13 @@ <field name="type">url</field> <field name="url">/website/static/src/img/library/marketing.jpg</field> </record> + <record id="website.library_image_18" model="ir.attachment"> + <field name="public" eval="True"/> + <field name="name">firework.jpg</field> + <field name="res_model">ir.ui.view</field> + <field name="type">url</field> + <field name="url">/website/static/src/img/library/firework.jpg</field> + </record> <!-- Website Builder Background Images --> <record id="website.s_background_image_01" model="ir.attachment"> |
