From f890eb765e8440123456bce48255f76ff862d432 Mon Sep 17 00:00:00 2001 From: Michael Vickers Date: Sun, 3 Jun 2018 14:15:16 +0100 Subject: Add dashboard and search task footer hooks Implement new hooks requested in kanboard/kanboard#3863 --- app/Template/dashboard/overview.php | 2 ++ app/Template/dashboard/tasks.php | 2 ++ 2 files changed, 4 insertions(+) (limited to 'app/Template/dashboard') diff --git a/app/Template/dashboard/overview.php b/app/Template/dashboard/overview.php index c0cde10b..f38c0d44 100644 --- a/app/Template/dashboard/overview.php +++ b/app/Template/dashboard/overview.php @@ -81,6 +81,8 @@ 'task' => $task, 'user_id' => $user['id'], )) ?> + + hook->render('template:dashboard:task:footer', array('task' => $task)) ?> diff --git a/app/Template/dashboard/tasks.php b/app/Template/dashboard/tasks.php index 23aef990..bde1e2f3 100644 --- a/app/Template/dashboard/tasks.php +++ b/app/Template/dashboard/tasks.php @@ -30,6 +30,8 @@ render('task_list/task_subtasks', array( 'task' => $task, )) ?> + + hook->render('template:dashboard:task:footer', array('task' => $task)) ?> -- cgit v1.2.3