root/app/views/welcome/index.rhtml @ 1caaf4a7
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)
|
|||
%>
|
|||
8ff59b90 | Marc Dequènes (Duck) | <%= display_image_frame(artwork.image, :frame_type => :float) %>
|
|
b689e231 | Marc Dequènes (Duck) | <% end %>
|
|
<br style="clear: both;"/>
|
|||
</p>
|