fixes #547 by sorting the deferred_todos in the project view on the show date.

Furthermore, I regenerated the compressed css and js for those running trunk in production mode. And I removed two empty files that aren't used anymore in the stats view

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@616 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lrbalt 2007-10-10 07:57:41 +00:00
parent e0b63acfab
commit 0af173f4d2
5 changed files with 5 additions and 749 deletions

View file

@ -28,7 +28,7 @@ class ProjectsController < ApplicationController
init_data_for_sidebar
@page_title = "TRACKS::Project: #{@project.name}"
@not_done = @project.not_done_todos(:include_project_hidden_todos => true)
@deferred = @project.deferred_todos
@deferred = @project.deferred_todos.sort_by { |todo| todo.show_from }
@done = @project.done_todos
@count = @not_done.size
@next_project = current_user.projects.next_from(@project)