2012-11-17 20:24:12 +01:00
|
|
|
- notes.each do |note|
|
|
|
|
= render "notes/diff_note", note: note
|
2012-11-17 20:34:52 +01:00
|
|
|
|
|
|
|
-# reply button
|
|
|
|
- note = notes.first # example note
|
|
|
|
%tr.line_notes_row.reply
|
|
|
|
%td{colspan: 3}
|
|
|
|
= link_to "javascript:;",
|
|
|
|
class: "line_note_reply_link js-note-add-to-diff-line",
|
|
|
|
data: { line_code: note.line_code,
|
|
|
|
noteable_type: note.noteable_type,
|
|
|
|
noteable_id: note.noteable_id },
|
|
|
|
title: "Add a comment to this line" do
|
|
|
|
%i.icon-comment
|
|
|
|
Reply
|