list.rhtml
19 lines
| 704 B
| text/html+ruby
|
RhtmlLexer
|
r12 | <h2><%=l(:label_public_projects)%></h2> | |
|
r2 | ||
|
r19 | <table class="listTableContent"> | |
|
r2 | <tr class="ListHead"> | |
|
r12 | <%= sort_header_tag('name', :caption => l(:label_project)) %> | |
<th><%=l(:field_description)%></th> | |||
<%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> | |||
|
r2 | </tr> | |
|
r5 | <% for project in @projects %> | |
<tr class="<%= cycle("odd", "even") %>"> | |||
|
r2 | <td><%= link_to project.name, :action => 'show', :id => project %> | |
|
r10 | <td><%= project.description %> | |
|
r2 | <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 %> ] |