2013-09-10 10:27:13 +02:00
|
|
|
- title t('.title')
|
2012-11-12 13:13:01 +01:00
|
|
|
= render 'nav'
|
2012-10-08 21:52:03 +02:00
|
|
|
|
|
|
|
- unless @unaccepted_tasks.empty?
|
|
|
|
%section
|
2013-04-12 00:00:02 +02:00
|
|
|
%h3= t '.title_open'
|
2016-02-24 21:48:32 +01:00
|
|
|
= render 'shared/task_list', tasks: @unaccepted_tasks
|
2012-10-08 21:52:03 +02:00
|
|
|
|
|
|
|
%section
|
2013-04-12 00:00:02 +02:00
|
|
|
%h3= t '.title_accepted'
|
2012-10-08 21:52:03 +02:00
|
|
|
- unless @accepted_tasks.empty?
|
2016-02-24 21:48:32 +01:00
|
|
|
= render 'shared/task_list', tasks: @accepted_tasks
|
2012-10-08 21:52:03 +02:00
|
|
|
- else
|
2013-04-12 00:00:02 +02:00
|
|
|
= t('.more', tasks_link: link_to(t('.tasks_link'), tasks_path)).html_safe
|
2012-10-08 21:52:03 +02:00
|
|
|
%br/
|
|
|
|
= link_to_top
|