Sha256: e53ebd8ca5b1124f6da0afd1df796aa15ecc70bf6686ac253438c5ff384463fd

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

<li class='clearfix record <%= cycle("on", "on-hover") %>'>
  <span class='title <%= resource.ext.try(:downcase) %>'>
    <%= resource.title %><%= ".#{resource.ext}" if resource.ext %>
    <span class="preview">- <%= number_to_human_size(resource.size) %></span>
  </span>
  <span class='actions'>
    <%= link_to refinery_icon_tag('page_white_put.png'),
                resource.url,
                :title => t('.download', :size => number_to_human_size(resource.size)) %>
    <%= link_to refinery_icon_tag('application_edit.png'),
                refinery.edit_admin_resource_path(resource),
                :title => t('edit', :scope => 'refinery.admin.resources') %>
    <%= link_to refinery_icon_tag('delete.png'),
                refinery.admin_resource_path(resource),
                :class => "cancel confirm-delete",
                :title => t('delete', :scope => 'refinery.admin.resources'),
                :data => {
                  :confirm => t('message', :scope => 'refinery.admin.delete', :title => resource.title)
                },
                :method => :delete %>
  </span>
</li>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
refinerycms-resources-2.0.8 app/views/refinery/admin/resources/_resource.html.erb
refinerycms-resources-2.0.7 app/views/refinery/admin/resources/_resource.html.erb
refinerycms-resources-2.0.6 app/views/refinery/admin/resources/_resource.html.erb