[IMP] website: clean "countdown" snippet end message
Part of #49697 task-2210730
This commit is contained in:
@@ -25,7 +25,7 @@ options.registry.countdown = options.Class.extend({
|
||||
if (widgetValue === 'message') {
|
||||
if (!this.$target.find('.s_countdown_end_message').length) {
|
||||
const message = this.endMessage || qweb.render('website.s_countdown.end_message');
|
||||
this.$target.find('.container').append(message);
|
||||
this.$target.append(message);
|
||||
}
|
||||
} else {
|
||||
const $message = this.$target.find('.s_countdown_end_message').detach();
|
||||
|
||||
@@ -9,16 +9,15 @@
|
||||
The following message will become visible <strong>only</strong> once the countdown ends.
|
||||
</div>
|
||||
<div class="oe_structure">
|
||||
<section class="s_picture bg-200" data-snippet="s_picture">
|
||||
<section class="s_picture bg-200 pt48 pb24" data-snippet="s_picture">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 pt16">
|
||||
<h2 class="text-center">Happy Odoo Anniversary!</h2>
|
||||
<p class="text-center">As promised, we will offer 4 free tickets to our next summit.<br/>Visit our facebook page to know if you are one of the lucky winners.<br/>Hopefully, we will meet you soon.</p>
|
||||
</div>
|
||||
<div class="col-lg-8 offset-lg-2">
|
||||
<h2 style="text-align: center;">Happy Odoo Anniversary!</h2>
|
||||
<p style="text-align: center;">As promised, we will offer 4 free tickets to our next summit.<br/>Visit our Facebook page to know if you are one of the lucky winners.</p>
|
||||
<p><br/></p>
|
||||
<div class="row s_nb_column_fixed">
|
||||
<div class="col-lg-12 pb24">
|
||||
<figure class="figure">
|
||||
<img src="/web/image/website.library_image_18" class="figure-img img-fluid rounded img-thumbnail padding-large" alt="Countdown is over - Firework"/>
|
||||
<img src="/web/image/website.library_image_18" class="figure-img img-thumbnail mx-auto padding-large" style="width: 50%;" alt="Countdown is over - Firework"/>
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user