2012-11-20 11:46:55 -05:00
|
|
|
- note = @project.notes.new(@comments_target.merge({ line_code: line_code }))
|
2012-10-29 10:55:37 -04:00
|
|
|
= link_to "",
|
2012-11-20 11:46:55 -05:00
|
|
|
"javascript:;",
|
|
|
|
class: "add-diff-note js-add-diff-note-button",
|
|
|
|
data: { noteable_type: note.noteable_type,
|
|
|
|
noteable_id: note.noteable_id,
|
2013-01-02 14:49:27 -05:00
|
|
|
commit_id: note.commit_id,
|
2012-11-20 11:46:55 -05:00
|
|
|
line_code: note.line_code,
|
|
|
|
discussion_id: note.discussion_id },
|
2012-12-02 14:53:50 -05:00
|
|
|
title: "Add a comment to this line"
|