Commit d96a807db7ec6294d47c260fe143d826e3502ae1

Authored by Riyad Preukschas
1 parent d0608560

Display file size instead of mode in tree/blob partial

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/tree/_blob.html.haml
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 %i.icon-file 3 %i.icon-file
4 %span.file_name 4 %span.file_name
5 = blob.name.force_encoding('utf-8') 5 = blob.name.force_encoding('utf-8')
6 - %small #{blob.mode} 6 + %small= number_to_human_size blob.size
7 %span.options= render "tree/blob_actions" 7 %span.options= render "tree/blob_actions"
8 - if blob.text? 8 - if blob.text?
9 = render "tree/blob/text", blob: blob 9 = render "tree/blob/text", blob: blob