summaryrefslogtreecommitdiff
path: root/addons/project/static/src/js/tour.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2016-09-29 14:25:50 +0200
committerThibault Delavallée <tde@odoo.com>2016-09-29 14:25:50 +0200
commitd4ee7971e2e3c7723d95f495a70f0a2cb85122bb (patch)
tree0a41707fe89be76682b6eb481f80970d1b69ae50 /addons/project/static/src/js/tour.js
parent671c63424f3237532551d557ae13a50f68dbfa7a (diff)
[IMP] project: improve user tour
* Correct some language * Add extra steps to redirect to the implementation planner after having finished the tour
Diffstat (limited to 'addons/project/static/src/js/tour.js')
-rw-r--r--addons/project/static/src/js/tour.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/addons/project/static/src/js/tour.js b/addons/project/static/src/js/tour.js
index a455f927834..22bf66976e1 100644
--- a/addons/project/static/src/js/tour.js
+++ b/addons/project/static/src/js/tour.js
@@ -85,7 +85,7 @@ tour.register('project_tour', {
}, {
trigger: ".breadcrumb li:not(.active):last",
extra_trigger: '.o_form_project_tasks.o_form_readonly',
- content: _t("Click on layers in the path to easily <b>return to tasks</b>."),
+ content: _t("Use the breadcrumbs to <b>go back to your tasks pipeline</b>."),
position: "bottom"
}, tour.STEPS.TOGGLE_APPSWITCHER,
tour.STEPS.MENU_MORE, {
@@ -96,6 +96,15 @@ tour.STEPS.MENU_MORE, {
trigger: ".o_web_settings_dashboard textarea#user_emails",
content: _t("<b>Invite coworkers</b> via email.<br/><i>Enter one email per line.</i>"),
position: "right"
+}, tour.STEPS.TOGGLE_APPSWITCHER,
+tour.STEPS.MENU_MORE, {
+ trigger: '.o_app[data-menu-xmlid="project.menu_main_pm"], .oe_menu_toggler[data-menu-xmlid="project.menu_main_pm"]',
+ content: _t("Good job! Your completed the Project Management tour. You can continue with the <b>implementation guide</b> to help you setup Project Management in your company."),
+ position: 'bottom',
+}, {
+ trigger: '.o_planner_systray div.progress',
+ content: _t("Use the <b>implementation guide</b> to setup Project Management in your company."),
+ position: 'bottom',
}]);
});