Change due date color on the board

This commit is contained in:
Frederic Guillot 2016-09-05 11:41:52 -04:00
parent 956cb45dbe
commit f0a3bc9494
No known key found for this signature in database
GPG Key ID: 92D77191BA7FBC99
3 changed files with 7 additions and 3 deletions

View File

@ -38,9 +38,11 @@
<?php if (! empty($task['date_due'])): ?>
<?php if (date('Y-m-d') == date('Y-m-d', $task['date_due'])): ?>
<span class="task-board-date task-board-date-today">
<span class="task-board-date task-board-date-today">
<?php elseif (time() > $task['date_due']): ?>
<span class="task-board-date task-board-date-overdue">
<span class="task-board-date task-board-date-overdue">
<?php else: ?>
<span class="task-board-date">
<?php endif ?>
<i class="fa fa-calendar"></i>
<?= $this->dt->date($task['date_due']) ?>

File diff suppressed because one or more lines are too long

View File

@ -7,5 +7,7 @@
span
&.task-board-date-today
opacity: 1.0
color: link-color('primary')
&.task-board-date-overdue
opacity: 1.0
color: color('error')