Project

General

Profile

Download (817 Bytes) Statistics
| Branch: | Tag: | Revision:
c7dd4b36 Marc Dequènes (Duck)
<h1><%= _("Tree view of the Cyma") %></h1>

c8cba6c5 Marc Dequènes (Duck)
<table class="image_list">
4a95d72c Marc Dequènes (Duck)
<% ArtworkSet.find(:all, :order => 'name ASC').each do |set| %>
df5b3282 Marc Dequènes (Duck)
<tr><th><%= link_to(display_image_frame(set.artworks.first.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>
c7dd4b36 Marc Dequènes (Duck)
<% unless set.artwork_groups.empty? %>
<% set.artwork_groups.each do |group| %>
33c93671 Marc Dequènes (Duck)
<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>
c7dd4b36 Marc Dequènes (Duck)
<% end %>
<% end %>
</tr>
<% end %>
</table>