Sha256: b2d6fa01125dc2b067bc5a79b70a0234565b43a5d6d07dff7af22f5e8a592bd6

Contents?: true

Size: 813 Bytes

Versions: 11

Compression:

Stored size: 813 Bytes

Contents

<%= content_tag_for :li, asset, :class => cms_row_class do %>
  <%= file_type_icon asset.asset_file_name %>
  <%= link_to cms_icon('delete.png', :title => 'Delete'), cms_asset_path(asset), :remote => true, :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

11 entries across 11 versions & 1 rubygems

Version Path
liquid_cms-0.3.0.10 app/views/cms/assets/_asset.html.erb
liquid_cms-0.3.0.9 app/views/cms/assets/_asset.html.erb
liquid_cms-0.3.0.8 app/views/cms/assets/_asset.html.erb
liquid_cms-0.3.0.7 app/views/cms/assets/_asset.html.erb
liquid_cms-0.3.0.6 app/views/cms/assets/_asset.html.erb
liquid_cms-0.3.0.5 app/views/cms/assets/_asset.html.erb
liquid_cms-0.3.0.4 app/views/cms/assets/_asset.html.erb
liquid_cms-0.3.0.3 app/views/cms/assets/_asset.html.erb
liquid_cms-0.3.0.2 app/views/cms/assets/_asset.html.erb
liquid_cms-0.3.0.1 app/views/cms/assets/_asset.html.erb
liquid_cms-0.3.0 app/views/cms/assets/_asset.html.erb