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: 9acadc6a14ec249acc8f091fb8d18974916d59cc (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.js-toggle-content
    %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