Sha256: ae68c07304384ea240131efc75ee81126680a67d3bb9758131ec5f463d275c4c

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 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'),
                    :data => {
                      :confirm => t('message', :scope => 'refinery.admin.delete', :title => image.title)
                    },
                    :method => :delete %>
      </span>
    </li>
  <% end -%>
</ul>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
refinerycms-images-2.0.8 app/views/refinery/admin/images/_grid_view.html.erb
refinerycms-images-2.0.7 app/views/refinery/admin/images/_grid_view.html.erb
refinerycms-images-2.0.6 app/views/refinery/admin/images/_grid_view.html.erb