summaryrefslogtreecommitdiff
path: root/app/views/notify/new_mention_in_issue_email.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/notify/new_mention_in_issue_email.html.haml')
-rw-r--r--app/views/notify/new_mention_in_issue_email.html.haml12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/notify/new_mention_in_issue_email.html.haml b/app/views/notify/new_mention_in_issue_email.html.haml
new file mode 100644
index 00000000000..4f3d36bd9ca
--- /dev/null
+++ b/app/views/notify/new_mention_in_issue_email.html.haml
@@ -0,0 +1,12 @@
+%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:
+-if @issue.description
+ = markdown(@issue.description, pipeline: :email, author: @issue.author)
+
+- if @issue.assignee_id.present?
+ %p
+ Assignee: #{@issue.assignee_name}