BigW Consortium Gitlab

_notes.html.haml 483 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 6
      - next if note.cross_reference_not_visible_for?(current_user)

7 8
      = render discussion_notes
    - else
9
      = render 'projects/notes/discussion', discussion_notes: discussion_notes
10 11 12
- else
  - @notes.each do |note|
    - next unless note.author
13 14
    - next if note.cross_reference_not_visible_for?(current_user)

15
    = render note