gitlab-org--gitlab-foss/app/views/discussions/_diff_discussion.html.haml

7 lines
239 B
Text
Raw Normal View History

- expanded = local_assigns.fetch(:expanded, discussion.expanded?)
%tr.notes_holder{class: ('hide' unless expanded)}
%td.notes_line{ colspan: 2 }
%td.notes_content
.content
= render "discussions/notes", discussion: discussion