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

_notes.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: ca60dd239b234033e6106d5466ce86689ba83d52 (plain)
1
2
3
4
5
6
7
8
9
10
11
- if @discussions.present?
  - @discussions.each do |discussion_notes|
    - note = discussion_notes.first
    - if note_for_main_target?(note)
      = render discussion_notes
    - else
      = render 'projects/notes/discussion', discussion_notes: discussion_notes
- else
  - @notes.each do |note|
    - next unless note.author
    = render note