diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-10-05 08:46:39 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-10-05 08:46:39 -0400 |
commit | 9159be81ec48dafa4ce0302418e5fcd2a95d734c (patch) | |
tree | 91e6fc577491d0ba73d8c24dd09c6e97a350064c /app/Template/dashboard/subtasks.php | |
parent | 1c0fad6e129aa390ae0926718c2c1d041959d2a3 (diff) | |
parent | b18e3d6a5c25cfbfc87ee4d62231ff8a2866da52 (diff) |
Merge pull-request #2707
Diffstat (limited to 'app/Template/dashboard/subtasks.php')
-rw-r--r-- | app/Template/dashboard/subtasks.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Template/dashboard/subtasks.php b/app/Template/dashboard/subtasks.php index b71deeb9..13770f0f 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:before-timetracking', array('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') ?> |