_latestprojects.rhtml

Damien McKenna, 2008-02-03 11:09

Download (353 Bytes)

 
1
<h3><%=l(:label_project_latest)%></h3>
2

    
3
<ul>
4
<% for project in Project.latest User.current.logged? ? User.current : nil %>
5
        <li>
6
        <%= link_to project.name, :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>)<br />
7
        <%= textilizable project.description, :project => project %>
8
        </li>
9
<% end %>
10
</ul>
11