diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/board/task_footer.php | 6 |
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> |