Commit d96a807d authored by Riyad Preukschas's avatar Riyad Preukschas

Display file size instead of mode in tree/blob partial

parent d0608560
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment