diff --git a/addons/website/data/website_data.xml b/addons/website/data/website_data.xml index 077dc4e1..106555c2 100644 --- a/addons/website/data/website_data.xml +++ b/addons/website/data/website_data.xml @@ -41,7 +41,7 @@ -
+
diff --git a/addons/website/static/src/js/menu/edit.js b/addons/website/static/src/js/menu/edit.js index 2dfab538..6d892912 100644 --- a/addons/website/static/src/js/menu/edit.js +++ b/addons/website/static/src/js/menu/edit.js @@ -45,7 +45,7 @@ var EditPageMenu = websiteNavbarData.WebsiteNavbarActionWidget.extend({ } // If readonly empty page, show the welcome message - this.$welcomeMessage = $(core.qweb.render('website.homepage_editor_welcome_message')); + this.$welcomeMessage = $(core.qweb.render('website.homepage_editor_welcome_message', {'website_domain': $('#wrapwrap.homepage #wrap').attr('data-website-domain')})); this.$welcomeMessage.css('min-height', $wrap.parent('main').height() - ($wrap.outerHeight(true) - $wrap.height())); $wrap.empty().append(this.$welcomeMessage); diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml index ad7d326a..2be91055 100644 --- a/addons/website/static/src/xml/website.editor.xml +++ b/addons/website/static/src/xml/website.editor.xml @@ -2,6 +2,10 @@

Welcome to your Homepage!

+ +

of

+

+