debian-mirror-gitlab/app/views/discussions/_diff_discussion.html.haml

10 lines
468 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
- 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) }
2019-07-31 22:56:46 +05:30
%td.notes-content{ colspan: 3 }
2018-03-17 18:26:18 +05:30
.content{ class: ('hide' unless expanded) }
= render partial: "discussions/notes", collection: discussions, as: :discussion, locals: { disable_collapse_class: true }