Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_diff_notes_with_reply_parallel.html.haml « notes « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 789f3e19fd2ec6378a110c64eea201aeb9e0385e (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
- 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= ""