slack: expose the FULL message instead of title.

Because slack uses it's own trim, we should avoid sending trimmed data and let users see the whole set.
This commit is contained in:
Marcin Kuzminski 2017-11-09 19:03:12 +01:00
parent 50b17eb2cf
commit 40e74de7a2

View file

@ -265,7 +265,7 @@ class SlackIntegrationType(IntegrationTypeBase):
%for branch, branch_commits in branches_commits.items():
${len(branch_commits['commits'])} ${'commit' if len(branch_commits['commits']) == 1 else 'commits'} on branch: <${branch_commits['branch']['url']}|${branch_commits['branch']['name']}>
%for commit in branch_commits['commits']:
`<${commit['url']}|${commit['short_id']}>` - ${commit['message_html_title']|html_to_slack_links}
`<${commit['url']}|${commit['short_id']}>` - ${commit['message_html']|html_to_slack_links}
%endfor
%endfor
'''))