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

_diff_head.html.haml « commits « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5aa542287feb24923f462bb2e339530d2996d7be (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
%ul.bordered-list
  - diffs.each_with_index do |diff, i|
    %li
      - if diff.deleted_file
        %span.deleted-file
          %a{href: "#diff-#{i}"}
            %i.icon-minus
            = diff.old_path
      - elsif diff.renamed_file
        %span.renamed-file
          %a{href: "#diff-#{i}"}
            %i.icon-minus
            = diff.old_path
            = "->"
            = diff.new_path
      - elsif diff.new_file
        %span.new-file
          %a{href: "#diff-#{i}"}
            %i.icon-plus
            = diff.new_path
      - else
        %span.edit-file
          %a{href: "#diff-#{i}"}
            %i.icon-adjust
            = diff.new_path