debian-mirror-gitlab/app/views/shared/notes/_notes.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
341 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
- 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