diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-06-07 09:10:34 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-06-07 09:10:34 -0400 |
commit | e65bf296d8e1265ff49e49c209dd3d163a1b4cdd (patch) | |
tree | 7574cb95a9707adc2f2981c904d0c803f282f680 /app/Template/board | |
parent | 53d0e62ff4942f5054170090e4fe2e9c91bf2ef7 (diff) | |
parent | f97d683ede0f61ec5ef1773e85033b931af42db6 (diff) |
Merge pull-request #2307
Diffstat (limited to 'app/Template/board')
-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> |