BigW Consortium Gitlab

_diff_head.html.haml 749 Bytes
Newer Older
1
%ul.bordered-list
2
  - diffs.each do |diff|
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
    %li
      - if diff.deleted_file
        %span.removed_file
          %a{:href => "##{diff.a_path}"}
            = diff.a_path
            = image_tag "blueprint_delete.png"
      - elsif diff.renamed_file
        %span.moved_file
          %a{:href => "##{diff.b_path}"}
            = diff.a_path
            = "->"
            = diff.b_path
            = image_tag "blueprint_notice.png"
      - elsif diff.new_file
        %span.new_file
          %a{:href => "##{diff.b_path}"}
            = diff.b_path
            = image_tag "blueprint_add.png"
      - else
        %span.edit_file
          %a{:href => "##{diff.b_path}"}
            = diff.b_path
            = image_tag "blueprint_info.png"
gitlabhq committed
26