BigW Consortium Gitlab

_diff_notes_with_reply.html.haml 448 Bytes
Newer Older
1
- note = notes.first # example note
2
-# Check if line want not changed since comment was left
3
- if !defined?(line) || line == note.diff_line
4
  %tr.notes_holder
5
    %td.notes_line{ colspan: 2 }
6
      %span.discussion-notes-count
7
        %i.fa.fa-comment
8 9
        = notes.count
    %td.notes_content
10
      %ul.notes{ data: { discussion_id: note.discussion_id } }
11
        = render notes
12 13
      .discussion-reply-holder
        = link_to_reply_diff(note)