Sha256: 9d1ce08cafd962b57949d10ed0ea0e1397beeaf559f0fe47ac96d78389e3b35a

Contents?: true

Size: 1.04 KB

Versions: 6

Compression:

Stored size: 1.04 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'),
                :confirm => t('message', :scope => 'refinery.admin.delete', :title => resource.title),
                :method => :delete %>
  </span>
</li>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refinerycms-resources-2.0.5 app/views/refinery/admin/resources/_resource.html.erb
refinerycms-resources-2.0.4 app/views/refinery/admin/resources/_resource.html.erb
refinerycms-resources-2.0.3 app/views/refinery/admin/resources/_resource.html.erb
refinerycms-resources-2.0.2 app/views/refinery/admin/resources/_resource.html.erb
refinerycms-resources-2.0.1 app/views/refinery/admin/resources/_resource.html.erb
refinerycms-resources-2.0.0 app/views/refinery/admin/resources/_resource.html.erb