From 7a9ee838f02483c995216450b9b3dcfcee02e32d Mon Sep 17 00:00:00 2001
From: Eskiso <eSkiSo@users.noreply.github.com>
Date: Wed, 28 Sep 2016 17:28:48 +0100
Subject: Added hooks for plugins

---
 app/Template/subtask/table.php | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'app')

diff --git a/app/Template/subtask/table.php b/app/Template/subtask/table.php
index 5c60df44..a13103f0 100644
--- a/app/Template/subtask/table.php
+++ b/app/Template/subtask/table.php
@@ -7,6 +7,7 @@
         <tr>
             <th class="column-40"><?= t('Title') ?></th>
             <th><?= t('Assignee') ?></th>
+            <?= $this->hook->render('template:subtask:table:header', array('values' => $values, 'errors' => $errors)) ?>
             <th><?= t('Time tracking') ?></th>
             <?php if ($editable): ?>
                 <th class="column-5"></th>
@@ -29,6 +30,7 @@
                     <?= $this->text->e($subtask['name'] ?: $subtask['username']) ?>
                 <?php endif ?>
             </td>
+            <?= $this->hook->render('template:subtask:table:rows', array('subtask' => $subtask)) ?>
             <td>
                 <ul class="no-bullet">
                     <li>
-- 
cgit v1.2.3