Sha256: 4ed56f34a67713ee58f8866d1de145e139a73b42082044c9ae90a483dd0b9349

Contents?: true

Size: 664 Bytes

Versions: 10

Compression:

Stored size: 664 Bytes

Contents

.file{:class => "#{dom_id(file)} #{file.is_image?? 'image' : nil}"}
  .file-name
    = link_to cms_admin_site_file_path(@site, file), :method => :delete, :remote => true, :data => {:confirm => t('.are_you_sure')}, :class => 'delete' do
      %i.icon-remove-circle
    = link_to file.file_file_name, file.file.url, :target => '_blank', :class => 'filename'
  
  .file-info{:data => {:url => file.file.url}}
    .thumb
      = image_tag file.file.url(:cms_thumb) if file.is_image?
    .details
      %input{:type => 'text', :value => file.file.url}
      .file-type= file.file_content_type
      .file-size= number_to_human_size(file.file_file_size, :locale => :en)

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
comfortable_mexican_sofa-1.9.2 app/views/cms_admin/files/_file.html.haml
comfortable_mexican_sofa-1.8.5 app/views/cms_admin/files/_file.html.haml
comfortable_mexican_sofa-1.9.1 app/views/cms_admin/files/_file.html.haml
comfortable_mexican_sofa-1.9.0 app/views/cms_admin/files/_file.html.haml
comfortable_mexican_sofa-1.8.4 app/views/cms_admin/files/_file.html.haml
comfortable_mexican_sofa-1.8.3 app/views/cms_admin/files/_file.html.haml
comfypress-0.1.4 app/views/cms_admin/files/_file.html.haml
comfortable_mexican_sofa-1.8.2 app/views/cms_admin/files/_file.html.haml
comfypress-0.1.3 app/views/cms_admin/files/_file.html.haml
comfortable_mexican_sofa-1.8.1 app/views/cms_admin/files/_file.html.haml