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

- if @note.diff_note? && @note.diff_file
  %p.details
    New comment on diff for
    = link_to @note.diff_file.file_path, @target_url
    \:

    .diff-content.code.js-syntax-highlight
      %table
        - Discussion.new([@note]).truncated_diff_lines.each do |line|
          = render "projects/diffs/line", line: line, diff_file: @note.diff_file, plain: true

= render 'note_message'