gitlab-org--gitlab-foss/app/views/shared/notes/_notes.html.haml
2017-05-02 13:07:53 +02:00

8 lines
341 B
Text

- if defined?(@discussions)
- @discussions.each do |discussion|
- if discussion.individual_note?
= render partial: "shared/notes/note", collection: discussion.notes, as: :note
- else
= render 'discussions/discussion', discussion: discussion
- else
= render partial: "shared/notes/note", collection: @notes, as: :note