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

_diff_discussion.html.haml « discussions « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4b6c4581eb391e3c02da20273065de01b79ff20c (plain)
1
2
3
4
5
6
7
8
9
10
- if local_assigns[:on_image]
  = render partial: "discussions/notes", collection: discussions, as: :discussion
- else
  -# Text diff discussions
  - expanded = local_assigns.fetch(:expanded, true)
  %tr.notes_holder{ class: ('hide' unless expanded) }
    %td.notes_line{ colspan: 2 }
    %td.notes_content
      .content{ class: ('hide' unless expanded) }
        = render partial: "discussions/notes", collection: discussions, as: :discussion, locals: { disable_collapse_class: true }