Optimized commit diff views, now showing file size and file mode changes

Replaced commit status images (diff_file_*.png) with fontawesome icons
This commit is contained in:
Koen Punt 2012-11-18 17:41:41 +01:00
parent b339c747a9
commit 3ac1f9459a
5 changed files with 102 additions and 49 deletions

View file

@ -57,9 +57,9 @@ module CommitsHelper
def image_diff_class(diff)
if diff.deleted_file
"diff_image_removed"
"diff_removed"
elsif diff.new_file
"diff_image_added"
"diff_added"
else
nil
end