Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_notes.html.haml « notes « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2b2bab09c74f9c2b937c32c9c3dd52054800b4ed (plain)
1
2
3
4
5
6
7
8
- if defined?(@discussions)
  - @discussions.each do |discussion|
    - if discussion.individual_note?
      = render partial: "projects/notes/note", collection: discussion.notes, as: :note
    - else
      = render 'discussions/discussion', discussion: discussion
- else
  = render partial: "projects/notes/note", collection: @notes, as: :note