Display more accurate file size in tree/blob/download partial

This commit is contained in:
Riyad Preukschas 2012-10-15 21:04:54 +02:00
parent d96a807db7
commit 3304262c3d

View file

@ -5,4 +5,4 @@
%br
= image_tag "download.png", width: 64
%h3
Download (#{blob.mb_size})
Download (#{number_to_human_size blob.size})