foodsoft/app/views/tasks/index.haml

18 lines
409 B
Plaintext
Raw Normal View History

2012-10-08 21:52:03 +02:00
- title "Aufgaben"
= render 'nav'
2009-01-06 11:49:19 +01:00
- unless @non_group_tasks.empty?
2012-10-08 21:52:03 +02:00
%section
%h3 Aufgaben für alle!
= render 'list', tasks: @non_group_tasks
2009-01-06 11:49:19 +01:00
2012-10-08 21:52:03 +02:00
- for group in @groups
- tasks = group.open_tasks
- unless tasks.empty?
%section
%h3
= group.name
%small= link_to "Gruppenaufgaben anzeigen", workgroup_tasks_path(group)
= render 'list', tasks: tasks
2009-01-06 11:49:19 +01:00
= link_to_top