34 lines
724 B
Text
34 lines
724 B
Text
- note1 = notes1.present? ? notes1.first : nil
|
|
- note2 = notes2.present? ? notes2.first : nil
|
|
|
|
%tr.notes_holder
|
|
- if note1
|
|
%td.notes_line
|
|
%span.btn.disabled
|
|
%i.fa.fa-comment
|
|
= notes1.count
|
|
%td.notes_content.parallel
|
|
%ul.notes{ rel: note1.discussion_id }
|
|
= render notes1
|
|
|
|
.discussion-reply-holder
|
|
= link_to_reply_diff(note1)
|
|
- else
|
|
%td= ""
|
|
%td= ""
|
|
|
|
- if note2
|
|
%td.notes_line
|
|
%span.btn.disabled
|
|
%i.fa.fa-comment
|
|
= notes2.count
|
|
%td.notes_content.parallel
|
|
%ul.notes{ rel: note2.discussion_id }
|
|
= render notes2
|
|
|
|
.discussion-reply-holder
|
|
= link_to_reply_diff(note2)
|
|
- else
|
|
%td= ""
|
|
%td= ""
|
|
|