Removed hardcoded links from main tabnav.
* Reorganized routes and foodsoft config * Avoid saving of wrong foodcoop tokens when following hard coded link
This commit is contained in:
parent
9cb367463c
commit
2c1952d625
8 changed files with 81 additions and 113 deletions
27
app/views/tasks/user.html.haml
Normal file
27
app/views/tasks/user.html.haml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
- title "Meine Aufgaben"
|
||||
= render :partial => "nav"
|
||||
|
||||
- @tasks = @unaccepted_tasks
|
||||
- unless @tasks.empty?
|
||||
.left_column{:style => "width:75%"}
|
||||
.box_title
|
||||
%h2 Offene Aufgaben
|
||||
.column_content
|
||||
= render :partial => "list"
|
||||
|
||||
|
||||
.left_column{:style => "width:75%"}
|
||||
.box_title
|
||||
%h2 Anstehende Aufgaben
|
||||
.column_content
|
||||
- @tasks = @accepted_tasks
|
||||
- unless @tasks.empty?
|
||||
= render :partial => "list"
|
||||
- else
|
||||
Nichts zu tun?
|
||||
= link_to "Hier", :action => "index"
|
||||
gibt es bestimmt Arbeit.
|
||||
%br/
|
||||
= link_to_top
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue