diff --git a/addons/website/static/src/snippets/s_countdown/000.xml b/addons/website/static/src/snippets/s_countdown/000.xml index 91ee692de87..ba461dedf2b 100644 --- a/addons/website/static/src/snippets/s_countdown/000.xml +++ b/addons/website/static/src/snippets/s_countdown/000.xml @@ -3,24 +3,4 @@ Time's up! You can now visit this page. - - - - - - Happy Odoo Anniversary! - As promised, we will offer 4 free tickets to our next summit.Visit our Facebook page to know if you are one of the lucky winners. - - - - - - - - - - - - - diff --git a/addons/website/static/src/snippets/s_countdown/options.js b/addons/website/static/src/snippets/s_countdown/options.js index 6a8979ae2f8..77e88cc1933 100644 --- a/addons/website/static/src/snippets/s_countdown/options.js +++ b/addons/website/static/src/snippets/s_countdown/options.js @@ -8,6 +8,7 @@ const CountdownWidget = require('website.s_countdown'); const qweb = core.qweb; options.registry.countdown = options.Class.extend({ + xmlDependencies: ['/website/static/src/snippets/s_countdown/options.xml'], events: _.extend({}, options.Class.prototype.events || {}, { 'click .toggle-edit-message': '_onToggleEndMessageClick', }), diff --git a/addons/website/static/src/snippets/s_countdown/options.xml b/addons/website/static/src/snippets/s_countdown/options.xml new file mode 100644 index 00000000000..90c3b6bdaaf --- /dev/null +++ b/addons/website/static/src/snippets/s_countdown/options.xml @@ -0,0 +1,25 @@ + + + + + + + + + Happy Odoo Anniversary! + As promised, we will offer 4 free tickets to our next summit.Visit our Facebook page to know if you are one of the lucky winners. + + + + + + + + + + + + + + +
Time's up! You can now visit this page.
As promised, we will offer 4 free tickets to our next summit.Visit our Facebook page to know if you are one of the lucky winners.