Project

General

Profile

Download (766 Bytes) Statistics
| Branch: | Tag: | Revision:
3523460d Marc Dequènes (Duck)
<h1><%= sprintf(_("View of set '%s'"), @artwork_set.name) %></h1>

7b2b192f Marc Dequènes (Duck)
<h2><%= _("Artworks:") %></h2>
3523460d Marc Dequènes (Duck)
<p>
7b2b192f Marc Dequènes (Duck)
<% @artwork_set.artworks.each do |artwork| %>
<% next if artwork.artwork_group %>
33c93671 Marc Dequènes (Duck)
<%= display_image_frame(artwork.image, :frame_type => :float, :size => :thumb_small, :display_size => false, :classes => "artwork") %>
3523460d Marc Dequènes (Duck)
<% end %>
<br style="clear: both;"/>
</p>

7b2b192f Marc Dequènes (Duck)
<h2><%= _("Groups:") %></h2>
c8cba6c5 Marc Dequènes (Duck)
<table class="image_list">
7b2b192f Marc Dequènes (Duck)
<% @artwork_set.artwork_groups.each do |group| %>
33c93671 Marc Dequènes (Duck)
<td><%= link_to(display_image_frame(group.artworks.last.image, :frame_type => :cell, :size => :thumb_small, :force_title => group.name, :display_size => false, :with_link => false, :classes => "group"), :controller => '/view', :action => 'group', :id => group.id) %></td>
3523460d Marc Dequènes (Duck)
<% end %>
33c93671 Marc Dequènes (Duck)
</table>