Display file size instead of mode in tree/blob partial
This commit is contained in:
parent
d060856044
commit
d96a807db7
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
%i.icon-file
|
%i.icon-file
|
||||||
%span.file_name
|
%span.file_name
|
||||||
= blob.name.force_encoding('utf-8')
|
= blob.name.force_encoding('utf-8')
|
||||||
%small #{blob.mode}
|
%small= number_to_human_size blob.size
|
||||||
%span.options= render "tree/blob_actions"
|
%span.options= render "tree/blob_actions"
|
||||||
- if blob.text?
|
- if blob.text?
|
||||||
= render "tree/blob/text", blob: blob
|
= render "tree/blob/text", blob: blob
|
||||||
|
|
Loading…
Add table
Reference in a new issue