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