foodsoft/app/views/tasks/_nav.haml

19 lines
550 B
Text
Raw Normal View History

2009-01-06 11:49:19 +01:00
#start_nav{:style => "float:right"}
%h2=_ 'TaskMenu'
%ul
%li
=_ 'Actions'
%ul
%li= link_to _('New task'), :action => "new"
%li
=_ 'Pages'
%ul
%li= link_to _('My tasks'), :action => "myTasks"
%li= link_to _('All tasks'), :action => "index"
%li= link_to _('Tasks done'), :action => "archive"
%li
=_ 'Group tasks'
%ul
- for group in Group.find :all, :conditions => "type != 'Ordergroup'"
2009-01-06 11:49:19 +01:00
%li= link_to group.name, :action => "workgroup", :id => group