Sha256: 9f42c8b593b621a257834eb76a97ed40c606b471ebabe94e5e5a8baeda9ef09c

Contents?: true

Size: 1.08 KB

Versions: 6

Compression:

Stored size: 1.08 KB

Contents

<ul id="image_grid" class="<%= ['clearfix', 'pagination_frame', pagination_css_class].compact.join(' ') %>">
  <% @images.each_with_index do |image, index| -%>
    <li id="image_<%= image.id %>" class='image_<%= index % 5 %>'>
      <%= image_fu image, '135x135#c', :title => image.title %>
      <span class='actions'>
        <%= link_to refinery_icon_tag('eye.png'), image.url,
                    :target => "_blank",
                    :title => t('.view_live_html') %>
        <%= link_to refinery_icon_tag('application_edit.png'),
                    refinery.edit_admin_image_path(image),
                    :title => t('edit', :scope => 'refinery.admin.images') %>
        <%= link_to refinery_icon_tag('delete.png'),
                    refinery.admin_image_path(image),
                    :class => "cancel confirm-delete",
                    :title => t('delete', :scope => 'refinery.admin.images'),
                    :confirm => t('message', :scope => 'refinery.admin.delete', :title => image.title),
                    :method => :delete %>
      </span>
    </li>
  <% end -%>
</ul>

Version data entries

6 entries across 6 versions & 1 rubygems

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