diff options
author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-10-15 23:04:26 +0400 |
---|---|---|
committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-10-16 01:40:18 +0400 |
commit | d96a807db7ec6294d47c260fe143d826e3502ae1 (patch) | |
tree | e4e9a54c7ce40b8585a775850025743976fa5d06 /app | |
parent | d060856044655ac76101a8ded51507479b4bc34a (diff) |
Display file size instead of mode in tree/blob partial
Diffstat (limited to 'app')
-rw-r--r-- | app/views/tree/_blob.html.haml | 2 |
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 |