root/app/views/welcome/index.rhtml @ 7b2b192f
34772708 | Marc Dequènes (Duck) | <h1><%= _("Artistic Production View Manager") %></h1>
|
|
b689e231 | Marc Dequènes (Duck) | ||
34772708 | Marc Dequènes (Duck) | <p><%= _("This software is intended to dynamically manage a view of an artistic production. This is only a development version which is work in progress. Please be patient.") %></p>
|
|
b689e231 | Marc Dequènes (Duck) | ||
34772708 | Marc Dequènes (Duck) | <h2><%= _("Latest 10 Productions") %></h2>
|
|
b689e231 | Marc Dequènes (Duck) | ||
<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>
|