Commit 3304262c3da429a5970e08b4cd0e58738b10c8eb

Authored by Riyad Preukschas
1 parent d96a807d

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

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/tree/blob/_download.html.haml
@@ -5,4 +5,4 @@ @@ -5,4 +5,4 @@
5 %br 5 %br
6 = image_tag "download.png", width: 64 6 = image_tag "download.png", width: 64
7 %h3 7 %h3
8 - Download (#{blob.mb_size}) 8 + Download (#{number_to_human_size blob.size})