summaryrefslogtreecommitdiff
path: root/app/Template/task/layout.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-04-24 17:03:09 -0400
committerFrederic Guillot <fred@kanboard.net>2016-04-24 17:03:09 -0400
commitf74d7ef209701bba905c0179b30f24a6e3faa5db (patch)
tree1034252a7525c24e8dc828c9e010b56faca272e8 /app/Template/task/layout.php
parent51ec4b4cf86c7f4a7552f8e01cee704cc6b4b57b (diff)
Added more template hooks
Diffstat (limited to 'app/Template/task/layout.php')
-rw-r--r--app/Template/task/layout.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Template/task/layout.php b/app/Template/task/layout.php
index 52db5d1b..ba2cd8d5 100644
--- a/app/Template/task/layout.php
+++ b/app/Template/task/layout.php
@@ -1,5 +1,6 @@
<section id="main">
<?= $this->projectHeader->render($project, 'Listing', 'show') ?>
+ <?= $this->hook->render('template:task:layout:top', array('task' => $task)) ?>
<section
class="sidebar-container" id="task-view"
data-edit-url="<?= $this->url->href('taskmodification', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
@@ -14,4 +15,4 @@
<?= $content_for_sublayout ?>
</div>
</section>
-</section> \ No newline at end of file
+</section>