|
<h2><%= sprintf(_("Steps in Artwork '%s'"), @artwork.title) %></h2>
|
|
<% repeat_links_size = 3 %>
|
|
|
|
|
|
<% if @artwork_step_images.size > repeat_links_size %>
|
|
<p><%= link_to_parent_resource_index _("Back to artworks list") %></p>
|
|
<% end %>
|
|
<p>
|
|
<% if @artwork_step_images.size > repeat_links_size %>
|
|
<%= display_new_action _("New artwork step") %>
|
|
<%= will_paginate @artwork_step_images %>
|
|
<% end %>
|
|
<table>
|
|
<tr>
|
|
<th><%= sortable_header :date, :label => _("Date"), :default => true %></th>
|
|
<th><%= _("Preview") %></th>
|
|
<th><%= _("Actions") %></th>
|
|
</tr>
|
|
<% @artwork_step_images.each do |artwork_step_image| %>
|
|
<tr>
|
|
<td><%= artwork_step_image.date %></td>
|
|
<td><%= link_to_resource artwork_step_image, display_thumbnail(artwork_step_image, :thumb_big) %></td>
|
|
<td class="actions"><%= display_standard_item_actions(artwork_step_image) %></td>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|
|
<%= will_paginate @artwork_step_images %>
|
|
<%= display_new_action _("New artwork step") %>
|
|
</p>
|
|
<p><%= link_to_parent_resource_index _("Back to artworks list") %></p>
|