Add a bold state to emphasize the project status on the project detail page.

The bold state changes once the ajax operation is complete.
Project status changes now also show a flash notice when the ajax operation completes.
Add a selenium test to confirm this behavior.
Fixed a bug where hiding a project would make deferred items hidden. Now we leave them deferred.
Added a little breathing room between the project status options.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@395 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2007-01-10 07:01:26 +00:00
parent f73401a850
commit ead9a4cfe9
7 changed files with 38 additions and 4 deletions

View file

@ -79,6 +79,8 @@ class ProjectController < ApplicationController
@project_not_done_counts[@project.id] = @project.reload().not_done_todo_count(:include_project_hidden_todos => true)
end
render
elsif params['update_status']
render :action => 'update_status'
else
render :text => success_text || 'Success'
end