diff options
| author | Munaf Khan <mub@odoo.com> | 2021-03-16 06:35:19 +0000 |
|---|---|---|
| committer | Munaf Khan <mub@odoo.com> | 2021-05-11 09:47:37 +0000 |
| commit | 203499216c657631b39b6ddc9560a1daaf20a862 (patch) | |
| tree | 57e9944bc981378aac68f96ac887b721013abbd5 /addons/website_event | |
| parent | 96564dd64bdbd426ae87444fd75a822074a37fc0 (diff) | |
[IMP] {website_}event: improve tour usability
This commit makes few changes in the event tour as
listed below:
* Remove the step asking user to save the event, as the next step is
redirecting to the website which already triggers a save
* Make the tip for website redirection appeaer in edit mode also
* Fix a typo ("registering" instead of "registrating")
* Instead of having to go to a specific stage, moving to any stage is
now enough for going to next step
taskID-2446215
closes odoo/odoo#68235
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website_event')
| -rw-r--r-- | addons/website_event/i18n/website_event.pot | 2 | ||||
| -rw-r--r-- | addons/website_event/static/src/js/tours/event_tour.js | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/addons/website_event/i18n/website_event.pot b/addons/website_event/i18n/website_event.pot index a0bff9b230e..8018da92744 100644 --- a/addons/website_event/i18n/website_event.pot +++ b/addons/website_event/i18n/website_event.pot @@ -1086,7 +1086,7 @@ msgstr "" #, python-format msgid "" "With the Edit button, you can <b>customize</b> the web page visitors will " -"see when registrating." +"see when registering." msgstr "" #. module: website_event diff --git a/addons/website_event/static/src/js/tours/event_tour.js b/addons/website_event/static/src/js/tours/event_tour.js index 49db16806ed..421146c1a09 100644 --- a/addons/website_event/static/src/js/tours/event_tour.js +++ b/addons/website_event/static/src/js/tours/event_tour.js @@ -16,13 +16,12 @@ EventAdditionalTourSteps.include({ this._super.apply(this, arguments); return [{ trigger: '.o_event_form_view button[name="is_published"]', - extra_trigger: 'div.o_form_buttons_view:not(.o_hidden)', content: _t("Use this <b>shortcut</b> to easily access your event web page."), position: 'bottom', }, { trigger: 'li#edit-page-menu a', extra_trigger: '.o_wevent_event', - content: _t("With the Edit button, you can <b>customize</b> the web page visitors will see when registrating."), + content: _t("With the Edit button, you can <b>customize</b> the web page visitors will see when registering."), position: 'bottom', }, { trigger: 'div[name="Image - Text"] .oe_snippet_thumbnail', |
