From 188c64e7a1e97b04f6117df09c6bf093b8f96deb Mon Sep 17 00:00:00 2001 From: ddm Date: Wed, 2 Oct 2013 18:08:07 +0200 Subject: [PATCH] [FIX] Tour: change banner background bzr revid: ddm@openerp.com-20131002160807-kpvqfwxlstzy3ud2 --- addons/website/static/src/js/website.tour.js | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/addons/website/static/src/js/website.tour.js b/addons/website/static/src/js/website.tour.js index c1e12279c65..d0dca64dd5d 100644 --- a/addons/website/static/src/js/website.tour.js +++ b/addons/website/static/src/js/website.tour.js @@ -75,7 +75,7 @@ backdrop: true, title: "Welcome to your website!", content: "This tutorial will guide you through the firsts steps to build your enterprise class website.", - template: openerp.qweb.render('website.tour_confirm', { confirm: "Ok, tell me more!" }), + template: openerp.qweb.render('website.tour_confirm', { confirm: "Tell me more!" }), }, { step_id: 'edit-page', @@ -129,7 +129,20 @@ placement: 'top', title: "Change the title", content: "Click on the title and modify it to fit your needs.", - template: openerp.qweb.render('website.tour_confirm', { confirm: "Ok, done!" }), + template: openerp.qweb.render('website.tour_confirm', { confirm: "Done!" }), + }, + { + step_id: 'customize-banner', + element: '.oe_overlay_options .oe_options', + placement: 'left', + title: "Customize the banner", + content: "Click on Customize and change the background of your banner.", + template: openerp.qweb.render('website.tour_simple'), + onShow: function () { + $('.dropdown-menu [name=carousel-background]').click(function () { + self.movetoStep('save-changes'); + }); + }, }, { step_id: 'save-changes',