2009-02-06 20:51:14 +01:00
|
|
|
- title "Aufgabenarchiv"
|
2009-01-06 11:49:19 +01:00
|
|
|
= render :partial => "nav"
|
|
|
|
|
2009-03-23 11:23:41 +01:00
|
|
|
= will_paginate @orders
|
|
|
|
%br/
|
2009-01-06 11:49:19 +01:00
|
|
|
%table{:style => "width: 76%"}
|
|
|
|
%tr
|
2009-02-06 20:51:14 +01:00
|
|
|
%th Fälligkeitsdatum
|
|
|
|
%th Betreff
|
|
|
|
%th Verantwortliche Menschen
|
2009-01-06 11:49:19 +01:00
|
|
|
%th
|
|
|
|
- for task in @tasks
|
|
|
|
%tr{:class => cycle('even','odd')}
|
|
|
|
%td= task.due_date unless task.due_date.nil?
|
2011-05-07 21:54:00 +02:00
|
|
|
%td= link_to "#{task.name} (#{task.duration}h)", :controller => "tasks", :action => "show", :id => task
|
2009-01-06 11:49:19 +01:00
|
|
|
%td
|
|
|
|
- unless task.users.empty?
|
|
|
|
= task.users.map(&:nick).join(", ")
|
|
|
|
%p
|
|
|
|
= link_to_top
|