foodsoft/app/views/tasks/user.html.haml

18 lines
383 B
Text
Raw Normal View History

- title "Meine Aufgaben"
= 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'
2012-10-08 21:52:03 +02:00
= render 'list', tasks: @unaccepted_tasks
%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?
= render 'list', tasks: @accepted_tasks
- 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
2009-01-06 11:49:19 +01:00