<%= sort_header_tag('projects.name', :caption => _('Project')) %>
<%=_('Description')%> |
<%=_('Public')%> |
<%= sort_header_tag('projects.created_on', :caption => _('Created on')) %>
|
<% odd_or_even = 1
for project in @projects
odd_or_even = 1 - odd_or_even %>
<%= link_to project.name, :controller => 'projects', :action => 'settings', :id => project %>
| <%= project.descr %>
| <%= image_tag 'true' if project.public? %>
| <%= format_date(project.created_on) %>
|
<%= start_form_tag({:controller => 'projects', :action => 'destroy', :id => project}) %>
<%= submit_tag _('Delete'), :class => "button-small" %>
<%= end_form_tag %>
|
<% end %>
<%= link_to ('« ' + _('Previous')), { :page => @project_pages.current.previous } if @project_pages.current.previous %>
<%= pagination_links(@project_pages) %>
<%= link_to (_('Next') + ' »'), { :page => @project_pages.current.next } if @project_pages.current.next %>