Revision 8ff59b90
Added by Marc Dequènes almost 15 years ago
- ID 8ff59b90e699695c175ab594a2687ef11878682d
app/views/view/set.rhtml | ||
---|---|---|
<h2><%= _("Groups:") %></h2>
|
||
<p>
|
||
<% @artwork_set.artwork_groups.each do |group| %>
|
||
<%= link_to(display_artwork_frame(group.artworks.last, :frame_type => :float, :size => :thumb_small, :force_title => group.name, :display_size => false), :action => 'group', :id => group.id) %>
|
||
<%= 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) %>
|
||
<% end %>
|
||
<br style="clear: both;"/>
|
||
</p>
|
||
... | ... | |
<h2><%= _("Artworks:") %></h2>
|
||
<p>
|
||
<% @artwork_set.artworks.each do |artwork| %>
|
||
<%= display_artwork_frame(artwork, :frame_type => :float, :size => :thumb_small, :display_size => false) %>
|
||
<% next if artwork.artwork_group %>
|
||
<%= display_image_frame(artwork.image, :frame_type => :float, :size => :thumb_small, :display_size => false) %>
|
||
<% end %>
|
||
<br style="clear: both;"/>
|
||
</p>
|
Also available in: Unified diff
[evol] added artwork view and now use the new image frame in all views