add task on board hooks
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user