Project

General

Profile

« Previous | Next » 

Revision ba788eca

Added by Marc Dequènes almost 14 years ago

  • ID ba788eca2972b79185a5100ab94e77febd9aa9aa

[cosmetic] added position number to artwork_step_images, only visible in the admin pages, to be able to change order for steps made the same day (closes #16)

View differences:

app/views/admin/artwork_step_images/index.rhtml
<table>
<tr>
<th><%= sortable_header :date, :label => _("Date"), :default => true %></th>
<th><%= _("Position") %></th>
<th><%= _("Preview") %></th>
<th><%= _("Actions") %></th>
</tr>
<% @artwork_step_images.each do |artwork_step_image| %>
<tr>
<td><%= artwork_step_image.date %></td>
<td><%= artwork_step_image.position %></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>

Also available in: Unified diff