From 3a273b989cf403d4c35f03f7032fcb5b5a5239db Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Mon, 10 Feb 2014 16:17:41 +0100 Subject: [PATCH] [IMP] website: typo for tutorial bzr revid: chm@openerp.com-20140210151741-grf5wsvjonuihxw0 --- .../static/src/js/website.tour.banner.js | 28 +++++++++++++++---- .../website/static/src/xml/website.tour.xml | 2 +- 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/addons/website/static/src/js/website.tour.banner.js b/addons/website/static/src/js/website.tour.banner.js index c5b04091b40..7bcd4fbcbd1 100644 --- a/addons/website/static/src/js/website.tour.banner.js +++ b/addons/website/static/src/js/website.tour.banner.js @@ -71,8 +71,8 @@ { snippet: 'three-columns', placement: 'bottom', - title: _t("Drag & Drop a Block"), - content: _t("Drag the '3 Columns' block and drop it below the banner."), + title: _t("Drag & Drop This Block"), + content: _t("Drag the 'Three Columns' block and drop it below the banner."), popover: { fixed: true }, }, { @@ -98,16 +98,32 @@ popover: { fixed: true }, }, { - element: 'button[data-dismiss=modal]', + element: '.modal:has(#mobile-viewport) button[data-dismiss=modal]', placement: 'right', title: _t("Close Mobile Preview"), content: _t("Scroll in the mobile preview to test the rendering. Once it's ok, close this dialog."), }, { waitNot: '.modal', - title: _t("Congrats"), - content: _t("Congratulation. This tour is finished."), - popover: { fixed: true, next: _t("Close Tutorial") }, + element: '#content-menu-button', + placement: 'bottom', + title: _t("Add new pages and menus"), + content: _t("The 'Content' menu allows you to add pages or add the top menu."), + popover: { next: _t("Continue") }, + }, + { + element: '#customize-menu-button', + placement: 'bottom', + title: _t("Customize your pages"), + content: _t("The 'Customize' menu allows you to activate options and change the theme."), + popover: { next: _t("Continue") }, + }, + { + element: 'a[data-action="promote-current-page"]', + placement: 'bottom', + title: _t("Promote your website"), + content: _t("The 'Promote' menu allows you to promote each page for google and other search engines."), + popover: { next: _t("Close Tutorial") }, }, ]; return this._super(); diff --git a/addons/website/static/src/xml/website.tour.xml b/addons/website/static/src/xml/website.tour.xml index 1365ba08307..dcecef021bb 100644 --- a/addons/website/static/src/xml/website.tour.xml +++ b/addons/website/static/src/xml/website.tour.xml @@ -22,6 +22,6 @@ - +