From a4f33b5bf5f0188251221fce7db8dd6e8b218005 Mon Sep 17 00:00:00 2001 From: RomainLibert Date: Thu, 27 Jun 2019 18:33:30 +0200 Subject: [PATCH] [IMP] mail: Display some tour popups on a better side --- addons/mail/static/src/js/tours/mail.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/mail/static/src/js/tours/mail.js b/addons/mail/static/src/js/tours/mail.js index c345f2cd8a4..e63647540a0 100644 --- a/addons/mail/static/src/js/tours/mail.js +++ b/addons/mail/static/src/js/tours/mail.js @@ -15,7 +15,7 @@ tour.register('mail_tour', { }, { trigger: '.o_mail_discuss .o_mail_discuss_sidebar .o_mail_add_thread[data-type="multi_user_channel"]', content: _t("

Create a channel here.

"), - position: 'right', + position: 'bottom', auto: true, run: function (actions) { var t = new Date().getTime(); @@ -24,7 +24,7 @@ tour.register('mail_tour', { }, { trigger: ".ui-autocomplete .ui-menu-item > a:contains(Private)", content: _t("

Create a private channel.

"), - position: 'right', + position: 'bottom', }, { trigger: '.o_mail_discuss .o_composer_text_field', content: _t("

Write a message to the members of the channel here.

You can notify someone with '@' or link another channel with '#'. Start your message with '/' to get the list of possible commands.

"), @@ -41,7 +41,7 @@ tour.register('mail_tour', { }, { trigger: '.o_mail_discuss .o_mail_thread .o_thread_message_star', content: _t("Messages can be starred to remind you to check back later."), - position: "right", + position: "bottom", }, { trigger: '.o_mail_discuss .o_mail_discuss_item[data-thread-id="mailbox_starred"]', content: _t("Once a message has been starred, you can come back and review it at any time here."),