Improved tasks.

This commit is contained in:
benni 2012-10-08 21:52:03 +02:00
parent 52e62f8ddb
commit acdb331e36
29 changed files with 1186 additions and 198 deletions

View file

@ -1,27 +1,20 @@
- title "Meine Aufgaben"
= render :partial => "nav"
- content_for :sidebar do
= render 'nav'
- unless @unaccepted_tasks.empty?
%section
%h3 Offene Aufgaben
= render 'list', tasks: @unaccepted_tasks
%section
%h3 Anstehende Aufgaben
- unless @accepted_tasks.empty?
= render 'list', tasks: @accepted_tasks
- else
Nichts zu tun?
= link_to "Hier", tasks_path
gibt es bestimmt Arbeit.
%br/
= link_to_top
- @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