summaryrefslogtreecommitdiff
path: root/app/Template/dashboard/tasks.php
diff options
context:
space:
mode:
authorSébastien Kergreis <seb.kerro@gmail.com>2016-05-23 18:24:37 -0500
committerSébastien Kergreis <seb.kerro@gmail.com>2016-05-23 18:41:10 -0500
commit454f47a94a7039fb9929c68d30b995ee71f7f13f (patch)
treefc47508d46d62403a26defb0c59438572a160d9d /app/Template/dashboard/tasks.php
parentdc6176fca23ea697380ab115aea976fa8271f047 (diff)
Adds task column in 'my tasks' table on dasboard
Diffstat (limited to 'app/Template/dashboard/tasks.php')
-rw-r--r--app/Template/dashboard/tasks.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/Template/dashboard/tasks.php b/app/Template/dashboard/tasks.php
index 71b62572..756bd9b4 100644
--- a/app/Template/dashboard/tasks.php
+++ b/app/Template/dashboard/tasks.php
@@ -11,7 +11,8 @@
<th><?= $paginator->order(t('Task'), 'title') ?></th>
<th class="column-5"><?= $paginator->order('Priority', 'tasks.priority') ?></th>
<th class="column-20"><?= t('Time tracking') ?></th>
- <th class="column-20"><?= $paginator->order(t('Due date'), 'date_due') ?></th>
+ <th class="column-10"><?= $paginator->order(t('Due date'), 'date_due') ?></th>
+ <th class="column-10"><?= $paginator->order(t('Column'), 'column_title') ?></th>
</tr>
<?php foreach ($paginator->getCollection() as $task): ?>
<tr>
@@ -41,6 +42,9 @@
<td>
<?= $this->dt->date($task['date_due']) ?>
</td>
+ <td>
+ <?= $this->text->e($task['column_title']) ?>
+ </td>
</tr>
<?php endforeach ?>
</table>