diff options
-rw-r--r-- | app/Template/task/details.php | 8 | ||||
-rw-r--r-- | doc/plugin-hooks.markdown | 4 |
2 files changed, 12 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> diff --git a/doc/plugin-hooks.markdown b/doc/plugin-hooks.markdown index a00aba16..15e98043 100644 --- a/doc/plugin-hooks.markdown +++ b/doc/plugin-hooks.markdown @@ -169,6 +169,10 @@ List of template hooks: | `template:project:integrations` | Integration page in projects settings | | `template:project:sidebar` | Sidebar in project settings | | `template:project-user:sidebar` | Sidebar on project user overview page | +| `template:task:details:first-column` | Task summary first column | +| `template:task:details:second-column` | Task summary second column | +| `template:task:details:third-column` | Task summary third column | +| `template:task:details:fourth-column` | Task summary fourth column | | `template:task:dropdown` | Task dropdown menu in listing pages | | `template:task:sidebar` | Sidebar on task page | | `template:task:form:left-column` | Left column in task form | |