debian-mirror-gitlab/app/views/projects/notes/_notes.html.haml
2014-09-02 14:37:02 +02:00

11 lines
347 B
Text

- 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