mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-01 10:30:15 +01:00
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:
parent
f73401a850
commit
ead9a4cfe9
7 changed files with 38 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue