summaryrefslogtreecommitdiff
path: root/app/Template/board/task_footer.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/board/task_footer.php')
-rw-r--r--app/Template/board/task_footer.php20
1 files changed, 17 insertions, 3 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index 11df8962..bc34363c 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -6,8 +6,8 @@
<?php else: ?>
<?= $this->url->link(
$this->text->e($task['category_name']),
- 'TaskPopoverController',
- 'changeCategory',
+ 'TaskModificationController',
+ 'edit',
array('task_id' => $task['id'], 'project_id' => $task['project_id']),
false,
'popover' . (! empty($task['category_description']) ? ' tooltip' : ''),
@@ -18,6 +18,16 @@
</div>
<?php endif ?>
+<?php if (! empty($task['tags'])): ?>
+ <div class="task-tags">
+ <ul>
+ <?php foreach ($task['tags'] as $tag): ?>
+ <li><?= $this->text->e($tag['name']) ?></li>
+ <?php endforeach ?>
+ </ul>
+ </div>
+<?php endif ?>
+
<div class="task-board-icons">
<?php if ($task['score']): ?>
<span class="task-score" title="<?= t('Complexity') ?>">
@@ -27,7 +37,11 @@
<?php endif ?>
<?php if (! empty($task['date_due'])): ?>
- <span class="task-board-date <?= time() > $task['date_due'] ? 'task-board-date-overdue' : '' ?>">
+ <?php if (date('Y-m-d') == date('Y-m-d', $task['date_due'])): ?>
+ <span class="task-board-date task-board-date-today">
+ <?php elseif (time() > $task['date_due']): ?>
+ <span class="task-board-date task-board-date-overdue">
+ <?php endif ?>
<i class="fa fa-calendar"></i>
<?= $this->dt->date($task['date_due']) ?>
</span>