From ec10577cb2559c8e5bf5eb7ff7040ad3fbc35b6f Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Fri, 7 Feb 2014 22:32:54 +0100 Subject: [PATCH] [IMP] tutorial banner bzr revid: fp@tinyerp.com-20140207213254-jxw1fwplg3kjbm78 --- addons/website/static/src/js/website.tour.banner.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/addons/website/static/src/js/website.tour.banner.js b/addons/website/static/src/js/website.tour.banner.js index abbdc80ec7e..c125ebad105 100644 --- a/addons/website/static/src/js/website.tour.banner.js +++ b/addons/website/static/src/js/website.tour.banner.js @@ -86,8 +86,8 @@ }, { waitFor: 'button[data-action=edit]:visible', - title: "Congratulation!", - content: "Your homepage has been updated.", + title: "Good Job!", + content: "Well done, you created your homepage.", template: self.popover({ next: "Continue" }), }, { @@ -105,10 +105,11 @@ content: "Scroll in the mobile preview to test the rendering. Once it's ok, close this dialog.", }, { - waitNot: '.modal', - title: "Congrats", - content: "Congratulation. This tour is finished.", - template: self.popover({ fixed: true, next: "Close Tutorial" }), + title: "Congratulation", + element: 'a[id=content-menu-button]', + placement: 'bottom', + content: "This tour is finished. You can continue discovering features with the 'Content' menu.", + template: self.popover({ next: "Close Tutorial" }), }, ]; return this._super();