2011-11-30 18:51:04 -05:00
|
|
|
%ul.bordered-list
|
2012-01-23 14:08:12 -05:00
|
|
|
- diffs.each do |diff|
|
2011-11-30 18:51:04 -05:00
|
|
|
%li
|
|
|
|
- if diff.deleted_file
|
|
|
|
%span.removed_file
|
|
|
|
%a{:href => "##{diff.a_path}"}
|
|
|
|
= diff.a_path
|
2012-03-13 16:17:13 -04:00
|
|
|
= image_tag "diff_file_delete.png"
|
2011-11-30 18:51:04 -05:00
|
|
|
- elsif diff.renamed_file
|
|
|
|
%span.moved_file
|
|
|
|
%a{:href => "##{diff.b_path}"}
|
|
|
|
= diff.a_path
|
|
|
|
= "->"
|
|
|
|
= diff.b_path
|
2012-03-13 16:17:13 -04:00
|
|
|
= image_tag "diff_file_notice.png"
|
2011-11-30 18:51:04 -05:00
|
|
|
- elsif diff.new_file
|
|
|
|
%span.new_file
|
|
|
|
%a{:href => "##{diff.b_path}"}
|
|
|
|
= diff.b_path
|
2012-03-13 16:17:13 -04:00
|
|
|
= image_tag "diff_file_add.png"
|
2011-11-30 18:51:04 -05:00
|
|
|
- else
|
|
|
|
%span.edit_file
|
|
|
|
%a{:href => "##{diff.b_path}"}
|
|
|
|
= diff.b_path
|
2012-03-13 16:17:13 -04:00
|
|
|
= image_tag "diff_file_info.png"
|
2011-10-21 14:40:36 -04:00
|
|
|
|