foodsoft/app/views/tasks/_nav.haml
Benjamin Meichsner 2c1952d625 Removed hardcoded links from main tabnav.
* Reorganized routes and foodsoft config
* Avoid saving of wrong foodcoop tokens when following hard coded link
2010-03-20 13:45:58 +01:00

19 lines
No EOL
524 B
Text

#start_nav{:style => "float:right"}
%h2 Aufgabenmenü
%ul
%li
Aktionen
%ul
%li= link_to "Neue Aufgabe erstellen", :action => "new"
%li
Seiten
%ul
%li= link_to "Meine Aufgaben", user_tasks_path
%li= link_to "Alle Aufgaben", :action => "index"
%li= link_to "Erledigt Aufgaben (Archiv)", :action => "archive"
%li
Gruppenaufgaben
%ul
- for group in Workgroup.all
%li= link_to group.name, :action => "workgroup", :id => group