summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Template/board/task_footer.php2
-rw-r--r--app/Template/board/task_private.php4
-rw-r--r--app/Template/board/task_public.php4
3 files changed, 10 insertions, 0 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index d8b21a5b..cb1f1b0d 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -59,6 +59,8 @@
<i class="fa fa-file-text-o"></i>
</span>
<?php endif ?>
+
+ <?= $this->hook->render('template:board:task:footer', array('task' => $task)) ?>
<?php if ($task['score']): ?>
<span class="task-score"><?= $this->text->e($task['score']) ?></span>
diff --git a/app/Template/board/task_private.php b/app/Template/board/task_private.php
index 50efe2f6..234480cb 100644
--- a/app/Template/board/task_private.php
+++ b/app/Template/board/task_private.php
@@ -71,9 +71,13 @@
<div class="task-board-closed"><i class="fa fa-ban fa-fw"></i><?= t('Closed') ?></div>
<?php endif ?>
+ <?= $this->hook->render('template:board:private:task:before-title', array('task' => $task)) ?>
+
<div class="task-board-title">
<?= $this->url->link($this->text->e($task['title']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?>
</div>
+
+ <?= $this->hook->render('template:board:private:task:after-title', array('task' => $task)) ?>
<?= $this->render('board/task_footer', array(
'task' => $task,
diff --git a/app/Template/board/task_public.php b/app/Template/board/task_public.php
index 9058f897..15806613 100644
--- a/app/Template/board/task_public.php
+++ b/app/Template/board/task_public.php
@@ -18,9 +18,13 @@
<?php endif ?>
</span>
+ <?= $this->hook->render('template:board:public:task:before-title', array('task' => $task)) ?>
+
<div class="task-board-title">
<?= $this->url->link($this->text->e($task['title']), 'task', 'readonly', array('task_id' => $task['id'], 'token' => $project['token'])) ?>
</div>
+
+ <?= $this->hook->render('template:board:public:task:after-title', array('task' => $task)) ?>
<?= $this->render('board/task_footer', array(
'task' => $task,