4 var website = openerp.website;
6 var render = website.tour.render;
8 website.InstallAppTour = website.EditorTour.extend({
10 name: "Install a new App",
11 init: function (editor) {
13 var $body = $(document.body);
16 stepId: 'welcome-install-app',
19 title: "Install an App",
20 content: "You can intall some apps to manage your website content.",
21 template: render('website.tour_popover', { next: "Start Tutorial", end: "Skip It" }),
25 element: '#customize-menu-button',
27 title: "Install an app",
28 content: "Add new apps by customizing your website.",
29 template: render('website.tour_popover'),
31 editor.on('rte:customize_menu_ready', editor, function () {
32 self.movetoStep('install-app');
37 stepId: 'install-app',
38 element: '#customize-menu li:last a',
41 title: "Install an app",
42 content: "Click 'Install Apps' to select and install the application you would like to manage from your website.",
43 template: render('website.tour_popover'),
50 website.EditorBar.include({
52 this.registerTour(new website.InstallAppTour(this));