Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-10-15 23:04:54 +0400
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-10-16 01:40:21 +0400
commit3304262c3da429a5970e08b4cd0e58738b10c8eb (patch)
tree462b6851eecd1876aff33e49e64f20666852d142 /app
parentd96a807db7ec6294d47c260fe143d826e3502ae1 (diff)
Display more accurate file size in tree/blob/download partial
Diffstat (limited to 'app')
-rw-r--r--app/views/tree/blob/_download.html.haml2
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})