_diff_notes_with_reply.html.haml 366 字节
Newer Older
R
Riyad Preukschas 已提交
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
D
Dmitriy Zaporozhets 已提交
4
  %tr.notes_holder
5 6
    %td.notes_line{ colspan: 2 }
    %td.notes_content
7
      %ul.notes{ data: { discussion_id: note.discussion_id } }
8
        = render notes
D
Dmitriy Zaporozhets 已提交
9 10
      .discussion-reply-holder
        = link_to_reply_diff(note)