Add dashboard and search task footer hooks

Implement new hooks requested in kanboard/kanboard#3863
This commit is contained in:
Michael Vickers 2018-06-03 14:15:16 +01:00 committed by Frédéric Guillot
parent 5068799cd7
commit f890eb765e
3 changed files with 6 additions and 0 deletions

View File

@ -81,6 +81,8 @@
'task' => $task,
'user_id' => $user['id'],
)) ?>
<?= $this->hook->render('template:dashboard:task:footer', array('task' => $task)) ?>
</div>
<?php endforeach ?>
</div>

View File

@ -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>

View File

@ -24,6 +24,8 @@
<?= $this->render('task_list/task_subtasks', array(
'task' => $task,
)) ?>
<?= $this->hook->render('template:search:task:footer', array('task' => $task)) ?>
</div>
<?php endforeach ?>
</div>