summaryrefslogtreecommitdiff
path: root/app/Template/dashboard
diff options
context:
space:
mode:
authorEskiso <eSkiSo@users.noreply.github.com>2016-09-28 17:27:21 +0100
committerGitHub <noreply@github.com>2016-09-28 17:27:21 +0100
commit3cd709aec91bd0dbf7edcf19fcc72530884f9374 (patch)
tree29d774d80e2397e61f5c11502479fdf273f30520 /app/Template/dashboard
parentee2de22b58da86400de33b0bd5f8cc6383ce88ea (diff)
Added hooks for plugins
Diffstat (limited to 'app/Template/dashboard')
-rw-r--r--app/Template/dashboard/subtasks.php2
1 files changed, 2 insertions, 0 deletions
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 @@
<th class="column-20"><?= $paginator->order(t('Project'), 'project_name') ?></th>
<th><?= $paginator->order(t('Task'), 'task_name') ?></th>
<th><?= $paginator->order(t('Subtask'), \Kanboard\Model\SubtaskModel::TABLE.'.title') ?></th>
+ <?= $this->hook->render('template:dashboard:subtasks:header', array('values' => $values, 'errors' => $errors, 'paginator' => $paginator)) ?>
<th class="column-20"><?= t('Time tracking') ?></th>
</tr>
<?php foreach ($paginator->getCollection() as $subtask): ?>
@@ -26,6 +27,7 @@
<td>
<?= $this->subtask->toggleStatus($subtask, $subtask['project_id']) ?>
</td>
+ <?= $this->hook->render('template:dashboard:subtasks:rows', array('subtask' => $subtask)) ?>
<td>
<?php if (! empty($subtask['time_spent'])): ?>
<strong><?= $this->text->e($subtask['time_spent']).'h' ?></strong> <?= t('spent') ?>