From 28958a4088216fc9c50e2c00464d7933e40a09db Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Tue, 18 Feb 2014 12:10:08 +0100 Subject: [PATCH] [FIX] website tour: At the end of the "Insert a banner" tour the help is "Close Mobile Preview" Change into "Check Mobile Preview" -> i would close with a "Continue" bouton to keep running the help on content -> really needed. With the tour they stay in editable mode and search for adding a new menu bzr revid: chm@openerp.com-20140218111008-rp1kg7r8pv53wfoh --- addons/website/static/src/js/website.tour.banner.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/website/static/src/js/website.tour.banner.js b/addons/website/static/src/js/website.tour.banner.js index e23ea01d0d6..c66eea1b314 100644 --- a/addons/website/static/src/js/website.tour.banner.js +++ b/addons/website/static/src/js/website.tour.banner.js @@ -100,8 +100,9 @@ { element: '.modal:has(#mobile-viewport) button[data-dismiss=modal]', placement: 'right', - title: _t("Close Mobile Preview"), + title: _t("Check Mobile Preview"), content: _t("Scroll in the mobile preview to test the rendering. Once it's ok, close this dialog."), + popover: { next: _t("Continue") }, }, { waitNot: '.modal',