diff options
author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-10-15 23:04:54 +0400 |
---|---|---|
committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-10-16 01:40:21 +0400 |
commit | 3304262c3da429a5970e08b4cd0e58738b10c8eb (patch) | |
tree | 462b6851eecd1876aff33e49e64f20666852d142 /app | |
parent | d96a807db7ec6294d47c260fe143d826e3502ae1 (diff) |
Display more accurate file size in tree/blob/download partial
Diffstat (limited to 'app')
-rw-r--r-- | app/views/tree/blob/_download.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tree/blob/_download.html.haml b/app/views/tree/blob/_download.html.haml index 7623e6f46d0..c307622995b 100644 --- a/app/views/tree/blob/_download.html.haml +++ b/app/views/tree/blob/_download.html.haml @@ -5,4 +5,4 @@ %br = image_tag "download.png", width: 64 %h3 - Download (#{blob.mb_size}) + Download (#{number_to_human_size blob.size}) |