summaryrefslogtreecommitdiff
path: root/app/Template/board
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-06-07 09:10:34 -0400
committerFrederic Guillot <fred@kanboard.net>2016-06-07 09:10:34 -0400
commite65bf296d8e1265ff49e49c209dd3d163a1b4cdd (patch)
tree7574cb95a9707adc2f2981c904d0c803f282f680 /app/Template/board
parent53d0e62ff4942f5054170090e4fe2e9c91bf2ef7 (diff)
parentf97d683ede0f61ec5ef1773e85033b931af42db6 (diff)
Merge pull-request #2307
Diffstat (limited to 'app/Template/board')
-rw-r--r--app/Template/board/task_footer.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index 11df8962..f6cbff70 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -27,7 +27,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('d') == date('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>