From b62954db4c40df435363994ce4632632fde01455 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Tue, 16 Aug 2016 14:12:05 +0100 Subject: [PATCH] Include the reason for emailing in the new_mention emails --- app/views/notify/new_mention_in_issue_email.html.haml | 3 +++ app/views/notify/new_mention_in_merge_request_email.html.haml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/app/views/notify/new_mention_in_issue_email.html.haml b/app/views/notify/new_mention_in_issue_email.html.haml index f42b150c0d6..4f3d36bd9ca 100644 --- a/app/views/notify/new_mention_in_issue_email.html.haml +++ b/app/views/notify/new_mention_in_issue_email.html.haml @@ -1,3 +1,6 @@ +%p + You have been mentioned in an issue. + - if current_application_settings.email_author_in_body %div #{link_to @issue.author_name, user_url(@issue.author)} wrote: diff --git a/app/views/notify/new_mention_in_merge_request_email.html.haml b/app/views/notify/new_mention_in_merge_request_email.html.haml index 158404de396..32aedb9e6b9 100644 --- a/app/views/notify/new_mention_in_merge_request_email.html.haml +++ b/app/views/notify/new_mention_in_merge_request_email.html.haml @@ -1,3 +1,6 @@ +%p + You have been mentioned in Merge Request #{@merge_request.to_reference} + - if current_application_settings.email_author_in_body %div #{link_to @merge_request.author_name, user_url(@merge_request.author)} wrote: