2011-12-01 01:51:04 +02:00
|
|
|
%ul.bordered-list
|
2012-01-23 21:08:12 +02:00
|
|
|
- diffs.each do |diff|
|
2011-12-01 01:51:04 +02:00
|
|
|
%li
|
|
|
|
- if diff.deleted_file
|
|
|
|
%span.removed_file
|
2012-08-10 18:07:50 -04:00
|
|
|
%a{href: "##{diff.old_path}"}
|
2012-04-11 23:03:56 +03:00
|
|
|
= diff.old_path
|
2012-03-13 22:17:13 +02:00
|
|
|
= image_tag "diff_file_delete.png"
|
2011-12-01 01:51:04 +02:00
|
|
|
- elsif diff.renamed_file
|
|
|
|
%span.moved_file
|
2012-08-10 18:07:50 -04:00
|
|
|
%a{href: "##{diff.new_path}"}
|
2012-04-11 23:03:56 +03:00
|
|
|
= diff.old_path
|
2011-12-01 01:51:04 +02:00
|
|
|
= "->"
|
2012-04-11 23:03:56 +03:00
|
|
|
= diff.new_path
|
2012-03-13 22:17:13 +02:00
|
|
|
= image_tag "diff_file_notice.png"
|
2011-12-01 01:51:04 +02:00
|
|
|
- elsif diff.new_file
|
|
|
|
%span.new_file
|
2012-08-10 18:07:50 -04:00
|
|
|
%a{href: "##{diff.new_path}"}
|
2012-04-11 23:03:56 +03:00
|
|
|
= diff.new_path
|
2012-03-13 22:17:13 +02:00
|
|
|
= image_tag "diff_file_add.png"
|
2011-12-01 01:51:04 +02:00
|
|
|
- else
|
|
|
|
%span.edit_file
|
2012-08-10 18:07:50 -04:00
|
|
|
%a{href: "##{diff.new_path}"}
|
2012-04-11 23:03:56 +03:00
|
|
|
= diff.new_path
|
2012-03-13 22:17:13 +02:00
|
|
|
= image_tag "diff_file_info.png"
|
2011-10-21 21:40:36 +03:00
|
|
|
|