gitlabhq/app/views/notes/_diff_note_link.html.haml

11 lines
479 B
Plaintext
Raw Normal View History

2012-11-20 17:46:55 +01:00
- note = @project.notes.new(@comments_target.merge({ line_code: line_code }))
= 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 },
title: "Add a comment to this line"