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
|
2012-04-11 16:03:56 -04:00
|
|
|
%a{:href => "##{diff.old_path}"}
|
|
|
|
= diff.old_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
|
2012-04-11 16:03:56 -04:00
|
|
|
%a{:href => "##{diff.new_path}"}
|
|
|
|
= diff.old_path
|
2011-11-30 18:51:04 -05:00
|
|
|
= "->"
|
2012-04-11 16:03:56 -04:00
|
|
|
= diff.new_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
|
2012-04-11 16:03:56 -04:00
|
|
|
%a{:href => "##{diff.new_path}"}
|
|
|
|
= diff.new_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
|
2012-04-11 16:03:56 -04:00
|
|
|
%a{:href => "##{diff.new_path}"}
|
|
|
|
= diff.new_path
|
2012-03-13 16:17:13 -04:00
|
|
|
= image_tag "diff_file_info.png"
|
2011-10-21 14:40:36 -04:00
|
|
|
|