gitlabhq/app/views/tree/_blob.html.haml

14 lines
353 B
Plaintext
Raw Normal View History

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
= blob.name
%small= number_to_human_size blob.size
2012-10-15 22:08:00 +02:00
%span.options= render "tree/blob_actions"
- if blob.text?
2012-10-15 20:56:58 +02:00
= render "tree/blob/text", blob: blob
- 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