72ef31c0ec
Show all unassigned task in the dashboard to make it more interesting for members to pick tasks. Some members do not (want to) click on the task list very often it is not clear if there are new tasks if we show the number of unassigned tasks only.
16 lines
401 B
Text
16 lines
401 B
Text
- title t('.title')
|
|
= render 'nav'
|
|
|
|
- unless @unaccepted_tasks.empty?
|
|
%section
|
|
%h3= t '.title_open'
|
|
= render 'shared/task_list', tasks: @unaccepted_tasks
|
|
|
|
%section
|
|
%h3= t '.title_accepted'
|
|
- unless @accepted_tasks.empty?
|
|
= render 'shared/task_list', tasks: @accepted_tasks
|
|
- else
|
|
= t('.more', tasks_link: link_to(t('.tasks_link'), tasks_path)).html_safe
|
|
%br/
|
|
= link_to_top
|