diff options
author | Michael Vickers <michaelvickers.uk@gmail.com> | 2018-06-03 14:15:16 +0100 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-06-03 18:46:38 -0700 |
commit | f890eb765e8440123456bce48255f76ff862d432 (patch) | |
tree | 096beddbc884f6a3721f0a4fcb8fbd2636359d74 /app/Template/dashboard | |
parent | 5068799cd7376621fdadfa50a2eef1e1bd8b75bc (diff) |
Add dashboard and search task footer hooks
Implement new hooks requested in kanboard/kanboard#3863
Diffstat (limited to 'app/Template/dashboard')
-rw-r--r-- | app/Template/dashboard/overview.php | 2 | ||||
-rw-r--r-- | app/Template/dashboard/tasks.php | 2 |
2 files changed, 4 insertions, 0 deletions
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'], )) ?> + + <?= $this->hook->render('template:dashboard:task:footer', array('task' => $task)) ?> </div> <?php endforeach ?> </div> 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 @@ <?= $this->render('task_list/task_subtasks', array( 'task' => $task, )) ?> + + <?= $this->hook->render('template:dashboard:task:footer', array('task' => $task)) ?> </div> <?php endforeach ?> </div> |