Display file size instead of mode in tree/blob partial

This commit is contained in:
Riyad Preukschas 2012-10-15 21:04:26 +02:00
parent d060856044
commit d96a807db7

View file

@ -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