3ac1f9459a
Replaced commit status images (diff_file_*.png) with fontawesome icons
27 lines
664 B
Plaintext
27 lines
664 B
Plaintext
%ul.bordered-list
|
|
- diffs.each_with_index do |diff, i|
|
|
%li
|
|
- if diff.deleted_file
|
|
%span.deleted-file
|
|
%a{href: "#diff-#{i}"}
|
|
%i.icon-minus
|
|
= diff.old_path
|
|
- elsif diff.renamed_file
|
|
%span.renamed-file
|
|
%a{href: "#diff-#{i}"}
|
|
%i.icon-minus
|
|
= diff.old_path
|
|
= "->"
|
|
= diff.new_path
|
|
- elsif diff.new_file
|
|
%span.new-file
|
|
%a{href: "#diff-#{i}"}
|
|
%i.icon-plus
|
|
= diff.new_path
|
|
- else
|
|
%span.edit-file
|
|
%a{href: "#diff-#{i}"}
|
|
%i.icon-adjust
|
|
= diff.new_path
|
|
|