summaryrefslogtreecommitdiffstats
path: root/redmine/app/views/projects/list.rhtml
blob: 2b2ac2d135d8a3fa839f2d2e34c4bb9b0e8d96ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<h2><%=_('Public projects')%></h2>

<table width="100%" cellspacing="1" cellpadding="2" class="listTableContent">
  <tr class="ListHead">
	<%= sort_header_tag('projects.name', :caption => _('Project')) %>
	<th>Description</th>
	<%= sort_header_tag('projects.created_on', :caption => _('Created on')) %>
  </tr>
  
<% odd_or_even = 1
	for project in @projects
	odd_or_even = 1 - odd_or_even %>
  <tr class="ListLine<%= odd_or_even %>">
	<td><%= link_to project.name, :action => 'show', :id => project %>
	<td><%= project.descr %>
	<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 %> ]