From 3cd709aec91bd0dbf7edcf19fcc72530884f9374 Mon Sep 17 00:00:00 2001 From: Eskiso Date: Wed, 28 Sep 2016 17:27:21 +0100 Subject: Added hooks for plugins --- app/Template/dashboard/subtasks.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Template/dashboard/subtasks.php') diff --git a/app/Template/dashboard/subtasks.php b/app/Template/dashboard/subtasks.php index b71deeb9..10bc5d89 100644 --- a/app/Template/dashboard/subtasks.php +++ b/app/Template/dashboard/subtasks.php @@ -10,6 +10,7 @@ order(t('Project'), 'project_name') ?> order(t('Task'), 'task_name') ?> order(t('Subtask'), \Kanboard\Model\SubtaskModel::TABLE.'.title') ?> + hook->render('template:dashboard:subtasks:header', array('values' => $values, 'errors' => $errors, 'paginator' => $paginator)) ?> getCollection() as $subtask): ?> @@ -26,6 +27,7 @@ subtask->toggleStatus($subtask, $subtask['project_id']) ?> + hook->render('template:dashboard:subtasks:rows', array('subtask' => $subtask)) ?> text->e($subtask['time_spent']).'h' ?> -- cgit v1.2.3 From 30422c9087ef6d6de34700d1137d5943697e3fd2 Mon Sep 17 00:00:00 2001 From: Eskiso Date: Sat, 1 Oct 2016 12:11:37 +0100 Subject: Removed $values and $errors --- 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 10bc5d89..f2138f97 100644 --- a/app/Template/dashboard/subtasks.php +++ b/app/Template/dashboard/subtasks.php @@ -10,7 +10,7 @@ order(t('Project'), 'project_name') ?> order(t('Task'), 'task_name') ?> order(t('Subtask'), \Kanboard\Model\SubtaskModel::TABLE.'.title') ?> - hook->render('template:dashboard:subtasks:header', array('values' => $values, 'errors' => $errors, 'paginator' => $paginator)) ?> + hook->render('template:dashboard:subtasks:header', array('paginator' => $paginator)) ?> getCollection() as $subtask): ?> -- cgit v1.2.3 From 11817d63de0398ad5c5e1ec622fa2ccbce8adb5e Mon Sep 17 00:00:00 2001 From: Eskiso Date: Wed, 5 Oct 2016 02:32:35 +0100 Subject: Renamed hook to better describe position. --- 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 f2138f97..13770f0f 100644 --- a/app/Template/dashboard/subtasks.php +++ b/app/Template/dashboard/subtasks.php @@ -10,7 +10,7 @@ order(t('Project'), 'project_name') ?> order(t('Task'), 'task_name') ?> order(t('Subtask'), \Kanboard\Model\SubtaskModel::TABLE.'.title') ?> - hook->render('template:dashboard:subtasks:header', array('paginator' => $paginator)) ?> + hook->render('template:dashboard:subtasks:header:before-timetracking', array('paginator' => $paginator)) ?> getCollection() as $subtask): ?> -- cgit v1.2.3