summaryrefslogtreecommitdiff
path: root/app/views/notify/_note_mr_or_commit_email.html.haml
blob: 15e92c42b147c044639bca6589ae4e4d39d69a99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.truncated_diff_lines,
      as: :line,
      locals: { diff_file: @note.diff_file,
        plain: true,
        email: true }

= render 'note_message'