Sha256: dd314b7342ccd4fcd9a6d384fee3ab6c9afff84745ed96447da0eaa24f05c496
Contents?: true
Size: 609 Bytes
Versions: 17
Compression:
Stored size: 609 Bytes
Contents
- per_row = local_assigns[:per_row] || 6 - asset_counter = local_assigns[:asset_counter] || 0 - edit = local_assigns.key?(:edit) ? edit : true %li{ :class => "#{asset.new_record? ? 'new-asset' : 'asset'} #{'last' if (asset_counter + 1) % per_row == 0}"} %h4= link_to truncate(asset.slug, :length => 18), edit ? edit_admin_theme_asset_path(asset) : asset.source.url .image .inside = vignette_tag(asset) - if edit .actions = link_to image_tag('admin/list/icons/cross.png'), admin_theme_asset_path(asset), :class => 'remove', :confirm => t('admin.messages.confirm'), :method => :delete
Version data entries
17 entries across 17 versions & 1 rubygems