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:26 +0400
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-10-16 01:40:18 +0400
commitd96a807db7ec6294d47c260fe143d826e3502ae1 (patch)
treee4e9a54c7ce40b8585a775850025743976fa5d06 /app
parentd060856044655ac76101a8ded51507479b4bc34a (diff)
Display file size instead of mode in tree/blob partial
Diffstat (limited to 'app')
-rw-r--r--app/views/tree/_blob.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tree/_blob.html.haml b/app/views/tree/_blob.html.haml
index b6913586523..9ede3f8eb20 100644
--- a/app/views/tree/_blob.html.haml
+++ b/app/views/tree/_blob.html.haml
@@ -3,7 +3,7 @@
%i.icon-file
%span.file_name
= blob.name.force_encoding('utf-8')
- %small #{blob.mode}
+ %small= number_to_human_size blob.size
%span.options= render "tree/blob_actions"
- if blob.text?
= render "tree/blob/text", blob: blob