Include the reason for emailing in the new_mention emails

This commit is contained in:
Nick Thomas 2016-08-16 14:12:05 +01:00
parent 8a6e9b934e
commit b62954db4c
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,6 @@
%p
You have been mentioned in an issue.
- if current_application_settings.email_author_in_body - if current_application_settings.email_author_in_body
%div %div
#{link_to @issue.author_name, user_url(@issue.author)} wrote: #{link_to @issue.author_name, user_url(@issue.author)} wrote:

View file

@ -1,3 +1,6 @@
%p
You have been mentioned in Merge Request #{@merge_request.to_reference}
- if current_application_settings.email_author_in_body - if current_application_settings.email_author_in_body
%div %div
#{link_to @merge_request.author_name, user_url(@merge_request.author)} wrote: #{link_to @merge_request.author_name, user_url(@merge_request.author)} wrote: