|
<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| %>
|
|
<%
|
|
# reload to ensure joint objects are well loaded
|
|
artwork = Artwork.find(artwork.id)
|
|
%>
|
|
<%= display_artwork_frame(artwork, :frame_type => :float) %>
|
|
<% end %>
|
|
<br style="clear: both;"/>
|
|
</p>
|