Bug - binary file size reported wrongly
Created by: pfctdayelise
When browsing the files of a project, binary files have a download link instead of being displayed on the page. The link estimates the size of the file but it doesn't seem to do it very intelligently. A 1.7 MB file is reported as being "1 MB". A more sensible rounding would be nice.
Using Gitlab 2.8.2 8da05a4f installed on Fedora. $ uname -a Linux tardis.bom.gov.au 2.6.35.6-45.fc14.x86_64 #1 (closed) SMP Mon Oct 18 23:57:44 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux