2012-11-20 16:46:55 +00:00
|
|
|
- note = @project.notes.new(@comments_target.merge({ line_code: line_code }))
|
2012-10-29 14:55:37 +00:00
|
|
|
= link_to "",
|
2012-11-20 16:46:55 +00: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 19:49:27 +00:00
|
|
|
commit_id: note.commit_id,
|
2012-11-20 16:46:55 +00:00
|
|
|
line_code: note.line_code,
|
|
|
|
discussion_id: note.discussion_id },
|
2012-12-02 19:53:50 +00:00
|
|
|
title: "Add a comment to this line"
|