Project

General

Profile

« Previous | Next » 

Revision 8ff59b90

Added by Marc Dequènes almost 15 years ago

  • ID 8ff59b90e699695c175ab594a2687ef11878682d

[evol] added artwork view and now use the new image frame in all views

View differences:

app/views/view/tree.rhtml
<table>
<% ArtworkSet.find(:all, :order => 'name ASC').each do |set| %>
<tr><th><%= link_to(display_artwork_frame(set.artworks.last, :frame_type => :cell, :size => :thumb_small, :force_title => set.name, :display_size => false), :action => 'set', :id => set.id) %></th>
<tr><th><%= link_to(display_image_frame(set.artworks.last.image, :frame_type => :cell, :size => :thumb_small, :force_title => set.name, :display_size => false, :with_link => false), :controller => '/view', :action => 'set', :id => set.id) %></th>
<% unless set.artwork_groups.empty? %>
<% set.artwork_groups.each do |group| %>
<td><%= link_to(display_artwork_frame(group.artworks.last, :frame_type => :cell, :size => :thumb_small, :force_title => group.name, :display_size => false), :action => 'group', :id => group.id) %></td>
<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), :controller => '/view', :action => 'group', :id => group.id) %></td>
<% end %>
<% end %>
</tr>

Also available in: Unified diff