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

_diff_notes_with_reply.html.haml « notes « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9537ab18caa57c9243882b4a6ab1d4ba52434abd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- note = notes.first # example note
-# Check if line want not changed since comment was left
- if !defined?(line) || line == note.diff_line
  %tr.notes_holder
    %td.notes_line{ colspan: 2 }
      %span.btn.disabled
        %i.icon-comment
        = notes.count
    %td.notes_content
      %ul.notes{ rel: note.discussion_id }
        = render notes

      = render "projects/notes/discussion_reply_button", note: note