Revision 3523460d
Added by Marc Dequènes almost 15 years ago
- ID 3523460d77cf32102dc14d7a9e4b0504652cb41a
app/views/view/tree.rhtml | ||
---|---|---|
|
||
<table>
|
||
<% ArtworkSet.find(:all, :order => 'name ASC').each do |set| %>
|
||
<tr><th><%= display_artwork_frame(set.artworks.last, :frame_type => :cell, :size => :thumb_small, :force_title => set.name, :display_size => false) %></th>
|
||
<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>
|
Also available in: Unified diff
[evol] added set view and linked it from tree view