Project

General

Profile

Download (722 Bytes) Statistics
| Branch: | Tag: | Revision:

root / app / views / welcome / index.rhtml @ c125ab32

1
<h1><%= _("ArtBook Manager") %></h1>
2

    
3
<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>
4

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

    
7
<p>
8
  <% Artwork.find(:all, :include => :artwork_step_images, :conditions => ["artwork_steps.id IS NOT NULL"], :order => "artwork_steps.date DESC", :limit => 10).each do |artwork| %>
9
  <%
10
    # reload to ensure joint objects are well loaded
11
    artwork = Artwork.find(artwork.id)
12
   %>
13
  <div style="float: left; text-align: center;"><div><%= display_thumbnail(artwork.image, :thumb_big) %></div><%= artwork.title %></div>
14
  <% end %>
15
  <br style="clear: both;"/>
16
</p>
    (1-1/1)