summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorImbasaur <yarrusg@gmail.com>2016-04-16 03:27:06 +0200
committerFrédéric Guillot <fred@kanboard.net>2016-04-15 21:27:06 -0400
commitbd64a2081ad1a5c953e38c746a9b5d4eecba088b (patch)
tree48832fe91454e25d769815a0097a153007824ca6 /app/Template
parent49a013405ef64249e8ee34e035183c9fc64ab493 (diff)
Task summary columns hooks (PR #2126)
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/task/details.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Template/task/details.php b/app/Template/task/details.php
index 6093c157..141c4a0b 100644
--- a/app/Template/task/details.php
+++ b/app/Template/task/details.php
@@ -40,6 +40,8 @@
</li>
<?php endif ?>
<li class="smaller">
+
+ <?= $this->hook->render('template:task:details:first-column', array('task' => $task)) ?>
</ul>
</div>
<div class="task-summary-column">
@@ -64,6 +66,8 @@
<strong><?= t('Position:') ?></strong>
<span><?= $task['position'] ?></span>
</li>
+
+ <?= $this->hook->render('template:task:details:second-column', array('task' => $task)) ?>
</ul>
</div>
<div class="task-summary-column">
@@ -102,6 +106,8 @@
<span><?= t('%s hours', $task['time_spent']) ?></span>
</li>
<?php endif ?>
+
+ <?= $this->hook->render('template:task:details:third-column', array('task' => $task)) ?>
</ul>
</div>
<div class="task-summary-column">
@@ -132,6 +138,8 @@
<span><?= $this->dt->datetime($task['date_moved']) ?></span>
</li>
<?php endif ?>
+
+ <?= $this->hook->render('template:task:details:fourth-column', array('task' => $task)) ?>
</ul>
</div>
</div>