Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_diff_note_link.html.haml « notes « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 377c926a2045fe1b9c0ebd93666fb9146bb70f09 (plain)
1
2
3
4
5
6
7
8
9
10
- note = @project.notes.new(@comments_target.merge({ line_code: line_code }))
= link_to "",
          "javascript:;",
          class: "add-diff-note js-add-diff-note-button",
          data: { noteable_type: note.noteable_type,
                  noteable_id:   note.noteable_id,
                  commit_id:     note.commit_id,
                  line_code:     note.line_code,
                  discussion_id: note.discussion_id },
          title: "Add a comment to this line"