summaryrefslogtreecommitdiff
path: root/app/views/notify/_note_mr_or_commit_email.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/notify/_note_mr_or_commit_email.html.haml')
-rw-r--r--app/views/notify/_note_mr_or_commit_email.html.haml11
1 files changed, 7 insertions, 4 deletions
diff --git a/app/views/notify/_note_mr_or_commit_email.html.haml b/app/views/notify/_note_mr_or_commit_email.html.haml
index 7033842b557..15e92c42b14 100644
--- a/app/views/notify/_note_mr_or_commit_email.html.haml
+++ b/app/views/notify/_note_mr_or_commit_email.html.haml
@@ -1,17 +1,20 @@
= content_for :head do
= stylesheet_link_tag 'mailers/highlighted_diff_email'
+New comment
+
- if @note.diff_note? && @note.diff_file
on
= link_to @note.diff_file.file_path, @target_url, class: 'details'
- \:
+\:
+- if @discussion
%table
= render partial: "projects/diffs/line",
- collection: @discussion.highlighted_diff_lines(@discussion.truncated_diff_lines),
+ collection: @discussion.truncated_diff_lines,
as: :line,
locals: { diff_file: @note.diff_file,
- plain: true,
- email: true }
+ plain: true,
+ email: true }
= render 'note_message'