Project

General

Profile

Download (735 Bytes) Statistics
| Branch: | Tag: | Revision:
b689e231 Marc Dequènes (Duck)
<h1><%= _("ArtBook Manager") %></h1>

<p><%= _("This software is intended to manage your ArtBook. This is only a development version with an ugly interface. Please be patient, this is work in progress.") %></p>

<h2><%= _("Latest 10 Artworks") %></h2>

<p>
<% Artwork.find(:all, :include => :artwork_step_images, :conditions => ["artwork_steps.id IS NOT NULL"], :order => "artwork_steps.date DESC", :limit => 10).each do |artwork| %>
c125ab32 Marc Dequènes (Duck)
<%
# reload to ensure joint objects are well loaded
artwork = Artwork.find(artwork.id)
%>
5fd9510f Marc Dequènes (Duck)
<div style="float: left; text-align: center; margin: 7px;"><div><%= display_thumbnail(artwork.image, :thumb_big) %></div><%= artwork.title %></div>
b689e231 Marc Dequènes (Duck)
<% end %>
<br style="clear: both;"/>
</p>