summaryrefslogtreecommitdiff
path: root/app/views/notify/_note_mr_or_commit_email.html.haml
blob: 3e2046aa9cf20597a25ebeadcbd41d6ad8669394 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
= content_for :head do
  = stylesheet_link_tag 'mailers/highlighted_diff_email'

- if note.diff_note? && note.diff_file
  = link_to note.diff_file.file_path, @target_url, class: 'details'
  \:

  %table
    = render partial: "projects/diffs/line",
      collection: discussion.truncated_diff_lines,
      as: :line,
      locals: { diff_file: note.diff_file,
      plain: true,
      email: true }

= render 'note_message'