From 9f392372e2008456ae711021d89d232db985105c Mon Sep 17 00:00:00 2001 From: Mitali Patel Date: Fri, 20 Apr 2018 10:33:12 +0530 Subject: [PATCH] [IMP] crm: Improve tour labels Task Id: 1827293 --- addons/crm/static/src/js/tour.js | 10 +++++----- addons/web_tour/static/src/js/tour_manager.js | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/crm/static/src/js/tour.js b/addons/crm/static/src/js/tour.js index 5895c8f14b9..641faac3f14 100644 --- a/addons/crm/static/src/js/tour.js +++ b/addons/crm/static/src/js/tour.js @@ -10,7 +10,7 @@ tour.register('crm_tour', { url: "/web", }, [tour.STEPS.MENU_MORE, { trigger: '.o_app[data-menu-xmlid="crm.crm_menu_root"], .oe_menu_toggler[data-menu-xmlid="crm.crm_menu_root"]', - content: _t("Ready to boost your sales? Your Pipeline can be found here, under CRM app."), + content: _t("Ready to boost your sales? Your Pipeline can be found here, under the CRM app."), position: 'bottom', }, { trigger: ".o-kanban-button-new", @@ -24,7 +24,7 @@ tour.register('crm_tour', { }, { trigger: ".o_kanban_quick_create .o_kanban_add", content: _t("Click here to add your opportunity."), - position: "right", + position: "bottom", }, { trigger: ".o_opportunity_kanban .o_kanban_group:first-child .o_kanban_record:last-child", content: _t("Drag & drop opportunities between columns as you progress in your sales cycle."), @@ -43,7 +43,7 @@ tour.register('crm_tour', { }, { trigger: ".modal-body .o_field_many2one", extra_trigger: ".o_opportunity_kanban", - content: _t("

You will be able to customize your followup activities. Examples:

  1. introductory email
  2. call 10 days after
  3. second call 3 days after, ...

Select a standard activity for now on.

"), + content: _t("

You will be able to customize your followup activities. Examples:

  1. introductory email
  2. call 10 days after
  3. second call 3 days after, ...

Select a standard activity for now.

"), position: "bottom", run: function (actions) { actions.auto(".modal-footer button[special=cancel]"); @@ -59,7 +59,7 @@ tour.register('crm_tour', { }, { trigger: ".o_opportunity_form .o_chatter_button_new_message", content: _t('

Send messages to your prospect and get replies automatically attached to this opportunity.

Type \'@\' to mention people - it\'s like cc-ing on emails.

'), - position: "right" + position: "bottom" }, { trigger: ".breadcrumb li:not(.active):last", extra_trigger: '.o_opportunity_form', @@ -77,7 +77,7 @@ tour.STEPS.MENU_MORE, { }, tour.STEPS.TOGGLE_HOME_MENU, tour.STEPS.MENU_MORE, { trigger: '.o_app[data-menu-xmlid="crm.crm_menu_root"], .oe_menu_toggler[data-menu-xmlid="crm.crm_menu_root"]', - content: _t("Good job! Your completed the tour of the CRM."), + content: _t("Good job! You completed the tour of the CRM app."), position: 'bottom', }]); diff --git a/addons/web_tour/static/src/js/tour_manager.js b/addons/web_tour/static/src/js/tour_manager.js index 599e6c6b2f5..af7435a4ce1 100644 --- a/addons/web_tour/static/src/js/tour_manager.js +++ b/addons/web_tour/static/src/js/tour_manager.js @@ -501,7 +501,7 @@ return core.Class.extend(mixins.EventDispatcherMixin, ServicesMixin, { TOGGLE_HOME_MENU: { edition: "enterprise", trigger: ".o_main_navbar .o_menu_toggle", - content: _t('Click the Home icon to navigate across apps.'), + content: _t('Click on the Home icon to navigate across apps.'), position: "bottom", },