foodsoft/app/views/tasks/index.haml

19 lines
447 B
Plaintext
Raw Normal View History

2013-04-12 00:00:02 +02:00
- title t('.title')
= render 'nav'
2009-01-06 11:49:19 +01:00
- unless @non_group_tasks.empty?
2012-10-08 21:52:03 +02:00
%section
2013-04-12 00:00:02 +02:00
%h3= t '.title_non_group'
= render 'shared/task_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
2013-12-10 19:12:29 +01:00
%small= link_to t('.show_group_tasks'), workgroup_tasks_path(workgroup_id: group)
= render 'shared/task_list', tasks: tasks
2013-04-12 00:00:02 +02:00
= link_to_top