blob: 6fd25d5f7c66df715a751172f1f20f6cfde4e619 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
- note1 = notes1.present? ? notes1.first : nil
- note2 = notes2.present? ? notes2.first : nil
-# Check if line want not changed since comment was left
/- if !defined?(line) || line == note.diff_line
%tr.notes_holder
- if note1
%td.notes_line
%span.btn.disabled
%i.icon-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.icon-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= ""
|