foodsoft/app/views/tasks/user.html.haml
2013-04-12 00:00:02 +02:00

17 lines
383 B
Text

- title "Meine Aufgaben"
= render 'nav'
- unless @unaccepted_tasks.empty?
%section
%h3= t '.title_open'
= render 'list', tasks: @unaccepted_tasks
%section
%h3= t '.title_accepted'
- unless @accepted_tasks.empty?
= render 'list', tasks: @accepted_tasks
- else
= t('.more', tasks_link: link_to(t('.tasks_link'), tasks_path)).html_safe
%br/
= link_to_top