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:
parent
b339c747a9
commit
3ac1f9459a
5 changed files with 102 additions and 49 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue