root/app/views/view/set.rhtml @ 402c7e4f
3523460d | Marc Dequènes (Duck) | <h1><%= sprintf(_("View of set '%s'"), @artwork_set.name) %></h1>
|
|
<h2><%= _("Groups:") %></h2>
|
|||
<p>
|
|||
<% @artwork_set.artwork_groups.each do |group| %>
|
|||
8ff59b90 | Marc Dequènes (Duck) | <%= link_to(display_image_frame(group.artworks.last.image, :frame_type => :float, :size => :thumb_small, :force_title => group.name, :display_size => false, :with_link => false), :controller => '/view', :action => 'group', :id => group.id) %>
|
|
3523460d | Marc Dequènes (Duck) | <% end %>
|
|
<br style="clear: both;"/>
|
|||
</p>
|
|||
<h2><%= _("Artworks:") %></h2>
|
|||
<p>
|
|||
<% @artwork_set.artworks.each do |artwork| %>
|
|||
8ff59b90 | Marc Dequènes (Duck) | <% next if artwork.artwork_group %>
|
|
<%= display_image_frame(artwork.image, :frame_type => :float, :size => :thumb_small, :display_size => false) %>
|
|||
3523460d | Marc Dequènes (Duck) | <% end %>
|
|
<br style="clear: both;"/>
|
|||
</p>
|