debian-mirror-gitlab/app/views/discussions/_diff_discussion.html.haml
2017-08-17 22:00:37 +05:30

6 lines
287 B
Text

- 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