Sha256: 937a7ae67eaa0041af5c2dbc12d7c9924d3aa7da0fed5c7363e1d9f60bbb8cca

Contents?: true

Size: 689 Bytes

Versions: 1

Compression:

Stored size: 689 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, :readonly => 'readonly'}
      .file-type= file.file_content_type
      .file-size= number_to_human_size(file.file_file_size, :locale => :en)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.9.3 app/views/cms_admin/files/_file.html.haml