Added more template hooks

This commit is contained in:
Frederic Guillot
2016-04-24 17:03:09 -04:00
parent 51ec4b4cf8
commit f74d7ef209
8 changed files with 20 additions and 7 deletions

View File

@@ -1,6 +1,8 @@
<section id="task-summary">
<h2><?= $this->text->e($task['title']) ?></h2>
<?= $this->hook->render('template:task:details:top', array('task' => $task)) ?>
<div class="task-summary-container color-<?= $task['color_id'] ?>">
<div class="task-summary-column">
<ul class="no-bullet">
@@ -149,4 +151,6 @@
<?= $this->url->button('fa-play', t('Set start date'), 'taskmodification', 'start', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
</div>
<?php endif ?>
<?= $this->hook->render('template:task:details:bottom', array('task' => $task)) ?>
</section>