BigW Consortium Gitlab

_diff_head.html.haml 664 Bytes
Newer Older
1
%ul.bordered-list
2
  - diffs.each_with_index do |diff, i|
3 4
    %li
      - if diff.deleted_file
5 6 7
        %span.deleted-file
          %a{href: "#diff-#{i}"}
            %i.icon-minus
8
            = diff.old_path
9
      - elsif diff.renamed_file
10 11 12
        %span.renamed-file
          %a{href: "#diff-#{i}"}
            %i.icon-minus
13
            = diff.old_path
14
            = "->"
15
            = diff.new_path
16
      - elsif diff.new_file
17 18 19
        %span.new-file
          %a{href: "#diff-#{i}"}
            %i.icon-plus
20
            = diff.new_path
21
      - else
22 23 24
        %span.edit-file
          %a{href: "#diff-#{i}"}
            %i.icon-adjust
25
            = diff.new_path
gitlabhq committed
26