Navigation Menu

Skip to content

Commit

Permalink
[IMP] mail: shorten help message
Browse files Browse the repository at this point in the history
  • Loading branch information
fpodoo committed Jun 15, 2018
1 parent 8c472b7 commit ca0a382
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions addons/mail/models/mail_channel.py
Expand Up @@ -890,10 +890,10 @@ def _execute_command_help(self, **kwargs):
channel_partners = self.env['mail.channel.partner'].search([('partner_id', '!=', partner.id), ('channel_id', '=', self.id)])
msg = _("You are in a private conversation with <b>@%s</b>.") % (channel_partners[0].partner_id.name if channel_partners else _('Anonymous'))
msg += _("""<br><br>
You can mention someone by typing <b>@username</b>, this will grab its attention.<br>
You can mention a channel by typing <b>#channel</b>.<br>
You can execute a command by typing <b>/command</b>.<br>
You can insert canned responses in your message by typing <b>:shortcut</b>.<br>""")
Type <b>@username</b> to mention someone, and grab his attention.<br>
Type <b>#channel</b>.to mention a channel.<br>
Type <b>/command</b> to execute a command.<br>
Type <b>:shortcut</b> to insert canned responses in your message.<br>""")

self._send_transient_message(partner, msg)

Expand Down

0 comments on commit ca0a382

Please sign in to comment.