2006-06-28 22:11:03 +04:00
|
|
|
<h2><%=_('Public projects')%></h2>
|
|
|
|
|
|
|
|
<table width="100%" cellspacing="1" cellpadding="2" class="listTableContent">
|
|
|
|
<tr class="ListHead">
|
2006-07-09 20:30:01 +04:00
|
|
|
<%= sort_header_tag('name', :caption => _('Project')) %>
|
2006-06-28 22:11:03 +04:00
|
|
|
<th>Description</th>
|
2006-07-09 20:30:01 +04:00
|
|
|
<%= sort_header_tag('created_on', :caption => _('Created on')) %>
|
2006-06-28 22:11:03 +04:00
|
|
|
</tr>
|
|
|
|
|
2006-07-09 20:30:01 +04:00
|
|
|
<% for project in @projects %>
|
|
|
|
<tr class="<%= cycle("odd", "even") %>">
|
2006-06-28 22:11:03 +04:00
|
|
|
<td><%= link_to project.name, :action => 'show', :id => project %>
|
2006-07-29 13:32:58 +04:00
|
|
|
<td><%= project.description %>
|
2006-06-28 22:11:03 +04:00
|
|
|
<td align="center"><%= format_date(project.created_on) %>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<%= pagination_links_full @project_pages %>
|
|
|
|
[ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ]
|