"Blocked tasks" display
Tasks that have missing dependencies will be displayed in a red-ish colour on the item views and in the full tasks list. Added a "blocked tasks" mode to the tasks list page.
This commit is contained in:
parent
bbf2c4a13c
commit
55438e6661
4 changed files with 97 additions and 10 deletions
includes/t-tasks
|
@ -15,6 +15,11 @@ class Ctrl_AllTasks
|
|||
if ( $mode == 'active' ) {
|
||||
$tasks = Loader::DAO( 'tasks' )->getAllActiveTasks( );
|
||||
$title = 'Active tasks';
|
||||
$bTitle = 'Display active tasks';
|
||||
$bMode = 'blocked';
|
||||
} elseif ( $mode == 'blocked' ) {
|
||||
$tasks = Loader::DAO( 'tasks' )->getAllBlockedTasks( );
|
||||
$title = 'Blocked tasks';
|
||||
$bTitle = 'Display all tasks';
|
||||
$bMode = 'all';
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue