Sha256: c51b1f2b250c3477153c59163ce2350079e97dc8bbcee1d4dc5c83a9862331da

Contents?: true

Size: 810 Bytes

Versions: 13

Compression:

Stored size: 810 Bytes

Contents

<% content_tag_for :li, asset, :class => cms_row_class do %>
  <%= file_type_icon asset.asset_file_name %>
  <%= link_to_remote cms_icon('delete.png', :title => 'Delete'), :url => cms_asset_path(asset), :indicator => dom_id(asset, 'progress'), :method => :delete, :confirm => "Are you sure you want to delete the \"#{asset}\" asset?" %>
  <%= link_to truncate(asset.asset_file_name, :length => 22), cms_asset_path(asset), :title => asset.asset_file_name %>
  <%= indicator dom_id(asset, 'progress') %>

  <span class="asset_size"><%= number_to_human_size asset.asset_file_size %></span>

  <% if asset.image? %>
  <div class="asset_details clearfix"<%= asset_preview_option %>>
    <div class="asset_image"><%= image_tag asset.asset.url(asset.icon? ? :original : :tiny) %></div>
  </div>
  <% end %>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
liquid_cms-0.2.0.13 app/views/cms/assets/_asset.html.erb
liquid_cms-0.2.0.12 app/views/cms/assets/_asset.html.erb
liquid_cms-0.2.0.11 app/views/cms/assets/_asset.html.erb
liquid_cms-0.2.0.10 app/views/cms/assets/_asset.html.erb
liquid_cms-0.2.0.9 app/views/cms/assets/_asset.html.erb
liquid_cms-0.2.0.8 app/views/cms/assets/_asset.html.erb
liquid_cms-0.2.0.7 app/views/cms/assets/_asset.html.erb
liquid_cms-0.2.0.6 app/views/cms/assets/_asset.html.erb
liquid_cms-0.2.0.5 app/views/cms/assets/_asset.html.erb
liquid_cms-0.2.0.4 app/views/cms/assets/_asset.html.erb
liquid_cms-0.2.0.3 app/views/cms/assets/_asset.html.erb
liquid_cms-0.2.0.2 app/views/cms/assets/_asset.html.erb
liquid_cms-0.2.0 app/views/cms/assets/_asset.html.erb