root/app/views/admin/artwork_step_images/index.rhtml @ 2214dabb
0ace8a06 | Marc Dequènes (Duck) | <h2><%= sprintf(_("Steps in Artwork '%s'"), link_to_resource(@artwork, @artwork.title)) %></h2>
|
|
b689e231 | Marc Dequènes (Duck) | <% 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>
|
|||
ba788eca | Marc Dequènes (Duck) | <th><%= _("Position") %></th>
|
|
b689e231 | Marc Dequènes (Duck) | <th><%= _("Preview") %></th>
|
|
<th><%= _("Actions") %></th>
|
|||
</tr>
|
|||
<% @artwork_step_images.each do |artwork_step_image| %>
|
|||
<tr>
|
|||
<td><%= artwork_step_image.date %></td>
|
|||
ba788eca | Marc Dequènes (Duck) | <td><%= artwork_step_image.position %></td>
|
|
b689e231 | Marc Dequènes (Duck) | <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>
|