gitlab-org--gitlab-foss/app/views/projects/notes/_notes.html.haml
2017-04-05 17:44:14 +01:00

8 lines
345 B
Text

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