Bit more cleaning up.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@98 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
bsag 2005-06-05 11:41:44 +00:00
parent 7af463c3f8
commit 125f31cc48

View file

@ -23,7 +23,6 @@ class TodoController < ApplicationController
@hidden_places = Context.find( :all, :conditions => "hide=1", :order => "position ASC" )
@done = Todo.find( :all, :conditions => "done=1", :order => "completed DESC",
:limit => NO_OF_ACTIONS )
@av_days_to_completion, @max_days_to_completion = av_completed()
# Set count badge to number of not-done, not hidden context items
@count = count_shown_items( @hidden_places )
@ -127,7 +126,7 @@ class TodoController < ApplicationController
# Toggles the 'done' status of the action
#
def toggle_check
def toggle_check
@projects = Project.find(:all, :order => "position ASC")
@places = Context.find(:all, :order => "position ASC")