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

New comment

- if @discussion && @discussion.diff_file
  on
  = 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'