gitlabhq/app/views/notes/_notes.html.haml
2012-12-03 22:51:55 +01:00

12 lines
346 B
Plaintext

- if @discussions.present?
- @discussions.each do |discussion_notes|
- note = discussion_notes.first
- if note_for_main_target?(note)
= render discussion_notes
- else
= render 'discussion', discussion_notes: discussion_notes
- else
- @notes.each do |note|
- next unless note.author
= render 'note', note: note