mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-22 07:04:09 +01:00
Update and add scenario's for testing interaction with new deferred container on context page and fix regressions
This commit is contained in:
parent
dd957f0feb
commit
7435b1ba93
14 changed files with 161 additions and 112 deletions
|
|
@ -286,7 +286,7 @@ class ContextsController < ApplicationController
|
|||
|
||||
@projects = current_user.projects
|
||||
|
||||
@count = @not_done_todos.size
|
||||
@count = @not_done_todos.count + @deferred.count + @pending.count
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1371,6 +1371,7 @@ class TodosController < ApplicationController
|
|||
@original_item_due = @todo.due
|
||||
@original_item_due_id = get_due_id_for_calendar(@todo.due)
|
||||
@original_item_predecessor_list = @todo.predecessors.map{|t| t.specification}.join(', ')
|
||||
@todo_was_deferred_or_blocked = @todo.deferred? || @todo.pending?
|
||||
end
|
||||
|
||||
def update_project
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue