Project

General

Profile

Download (797 Bytes) Statistics
| Branch: | Tag: | Revision:
<h1><%= _("Tree view of the Cyma") %></h1>

<table>
<% ArtworkSet.find(:all, :order => 'name ASC').each do |set| %>
<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, :classes => "set"), :controller => '/view', :action => 'set', :id => set.id) %></th>
<% unless set.artwork_groups.empty? %>
<% set.artwork_groups.each do |group| %>
<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, :classes => "group"), :controller => '/view', :action => 'group', :id => group.id) %></td>
<% end %>
<% end %>
</tr>
<% end %>
</table>
(4-4/4)