summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2014-02-10 16:17:41 +0100
committerChristophe Matthieu <chm@openerp.com>2014-02-10 16:17:41 +0100
commit3a273b989cf403d4c35f03f7032fcb5b5a5239db (patch)
treede5481f12e6720f1aae01cab462ed4c6b60358e6 /addons/website/static/src
parentabc49aebd5ab904c598c16374db17df65eb2e408 (diff)
[IMP] website: typo for tutorial
bzr revid: chm@openerp.com-20140210151741-grf5wsvjonuihxw0
Diffstat (limited to 'addons/website/static/src')
-rw-r--r--addons/website/static/src/js/website.tour.banner.js28
-rw-r--r--addons/website/static/src/xml/website.tour.xml2
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 <em>'3 Columns'</em> block and drop it below the banner."),
+ title: _t("Drag & Drop This Block"),
+ content: _t("Drag the <em>'Three Columns'</em> 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 @@
</div>
</t>
<t t-name="website.tour_popover_title">
- <t t-esc="title"/><button title="Close Tutorial" type="button" class="close" data-role="end">×</button>
+ <t t-esc="title"/><button title="End This Tutorial" type="button" class="close" data-role="end">×</button>
</t>
</templates>