Project

General

Profile

« Previous | Next » 

Revision 2e9b8af0

Added by Marc Dequènes almost 15 years ago

  • ID 2e9b8af06f26816ec635ea9d23977419014262f3

[evol] added group view and linked it from the tree and set views

View differences:

app/views/view/tree.rhtml
<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>
<% unless set.artwork_groups.empty? %>
<% set.artwork_groups.each do |group| %>
<td><%= display_artwork_frame(group.artworks.last, :frame_type => :cell, :size => :thumb_small, :force_title => group.name, :display_size => false) %></td>
<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>
<% end %>
<% end %>
</tr>

Also available in: Unified diff