From f3deb6492a74f1ffa9e3391274e0ab7947a04016 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 26 Feb 2017 19:30:02 -0500 Subject: Add toggle button to show/hide subtasks in task list view --- app/Template/dashboard/subtasks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Template/dashboard/subtasks.php') diff --git a/app/Template/dashboard/subtasks.php b/app/Template/dashboard/subtasks.php index 13770f0f..d86b1ef9 100644 --- a/app/Template/dashboard/subtasks.php +++ b/app/Template/dashboard/subtasks.php @@ -25,7 +25,7 @@ url->link($this->text->e($subtask['task_name']), 'TaskViewController', 'show', array('task_id' => $subtask['task_id'], 'project_id' => $subtask['project_id'])) ?> - subtask->toggleStatus($subtask, $subtask['project_id']) ?> + subtask->renderToggleStatus(array('project_id' => $subtask['project_id']), $subtask) ?> hook->render('template:dashboard:subtasks:rows', array('subtask' => $subtask)) ?> -- cgit v1.2.3