BigW Consortium Gitlab

_notes.html.haml 407 Bytes
Newer Older
1 2 3 4
- if @discussions.present?
  - @discussions.each do |discussion_notes|
    - note = discussion_notes.first
    - if note_for_main_target?(note)
5
      = render partial: "projects/notes/note", object: note, as: :note
6
    - else
7
      = render 'projects/notes/discussion', discussion_notes: discussion_notes
8 9
- else
  - @notes.each do |note|
10
    = render partial: "projects/notes/note", object: note, as: :note