_diff_notes_with_reply.html.haml 684 Bytes
- note = notes.first # example note
%tr.notes_holder{ data: { :'discussion-id' => note.discussion_id } }
  %td.notes_line{ colspan: 2 }
    %span.btn.disabled
      %i.icon-comment
      = notes.count
  %td.notes_content
    %ul.notes
      = render notes

    -# reply button
    = link_to "javascript:;",
              class: "btn comment-btn js-diff-note-reply-button",
              data: { noteable_type: note.noteable_type,
                      noteable_id:   note.noteable_id,
                      line_code:     note.line_code,
                      discussion_id: note.discussion_id },
              title: "Add a comment to this line" do
      %i.icon-comment
      Reply