0dff5ea784
* Update ordergroup stats when task is destroyed. * Removed assigned caching attribute in task object. * A lot of eager loading for tasks controller.
17 lines
No EOL
460 B
Text
17 lines
No EOL
460 B
Text
- if Task.done.count > 20
|
|
= items_per_page
|
|
= pagination_links_remote @tasks
|
|
|
|
%table.table.table-striped
|
|
%thead
|
|
%tr
|
|
%th Fälligkeitsdatum
|
|
%th Betreff
|
|
%th Verantwortliche Menschen
|
|
%th
|
|
%tbody
|
|
- @tasks.each do |task|
|
|
%tr
|
|
%td= task.due_date unless task.due_date.nil?
|
|
%td= link_to "#{task.name} (#{task.duration}h)", :controller => "tasks", :action => "show", :id => task
|
|
%td= task_assignments task |