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)

File diff suppressed because one or more lines are too long

View file

@ -67,10 +67,10 @@ input.item-checkbox {float: left; margin-left: 10px; vertical-align: middle}
.stale_l1 {background: #ffC}
.tools {margin-left: 25px; width: 40px; border-top: 1px solid #999}
#footer {clear: both; font-size: 85%; text-align: center; color: #999; margin: 20px 20px 5px 20px; padding: 0px}
.notes {margin: 5px; padding: 3px; border: 1px solid #F5ED59; background: #FAF6AE; color: #666666}
.notes p, .notes li {padding: 1px; margin: 0px; font-size: 12px}
.notes ul, .note_wrapper ul {list-style-type: disc; margin-left:20px}
.notes ol {list-style-type: decimal; margin-left:20px}
.todo_notes {margin: 5px; padding: 3px; border: 1px solid #F5ED59; background: #FAF6AE; color: #666666}
.todo_notes p, .todo_notes li {padding: 1px; margin: 0px; font-size: 12px}
.todo_notes ul, .note_wrapper ul {list-style-type: disc; margin-left:20px}
.todo_notes ol {list-style-type: decimal; margin-left:20px}
div.note_wrapper {margin: 3px; padding: 2px}
div.note_wrapper p {display: inline}
div.note_footer {border-top: 1px solid #999; padding-top: 3px; font-style: italic; font-size: 0.9em; color: #666}