2012-07-10 19:15:33 +02:00
|
|
|
.file_holder
|
|
|
|
.file_title
|
2012-05-15 18:35:18 +02:00
|
|
|
%i.icon-file
|
|
|
|
%span.file_name
|
2012-11-08 18:41:07 +01:00
|
|
|
= blob.name
|
2012-10-15 21:04:26 +02:00
|
|
|
%small= number_to_human_size blob.size
|
2012-10-15 22:08:00 +02:00
|
|
|
%span.options= render "tree/blob_actions"
|
2012-10-15 23:38:35 +02:00
|
|
|
- if blob.text?
|
2012-10-15 20:56:58 +02:00
|
|
|
= render "tree/blob/text", blob: blob
|
2012-10-15 23:38:35 +02:00
|
|
|
- elsif blob.image?
|
2012-10-15 20:56:58 +02:00
|
|
|
= render "tree/blob/image", blob: blob
|
2011-10-08 23:36:38 +02:00
|
|
|
- else
|
2012-10-15 20:56:58 +02:00
|
|
|
= render "tree/blob/download", blob: blob
|