2012-11-12 13:13:01 +01:00
|
|
|
- content_for :actionbar do
|
2013-04-12 00:00:02 +02:00
|
|
|
= link_to t('.new_task'), new_task_path, class: 'btn btn-primary'
|
2012-11-12 13:13:01 +01:00
|
|
|
|
|
|
|
- content_for :sidebar do
|
|
|
|
.well.well-small
|
|
|
|
%ul.nav.nav-list
|
2013-09-10 10:27:13 +02:00
|
|
|
%li.nav-header= t '.pages'
|
2013-04-12 00:00:02 +02:00
|
|
|
%li= link_to t('.my_tasks'), user_tasks_path
|
|
|
|
%li= link_to t('.all_tasks'), tasks_path
|
|
|
|
%li= link_to t('.archive'), archive_tasks_path
|
|
|
|
%li.nav-header= t '.group_tasks'
|
2017-08-11 04:14:57 +02:00
|
|
|
- for group in Workgroup.order(:name)
|
2013-04-12 00:00:02 +02:00
|
|
|
%li= link_to group.name, workgroup_tasks_path(workgroup_id: group.id)
|