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
3 changed files with 7 additions and 3 deletions

View File

@@ -41,6 +41,8 @@
<span class="task-board-date task-board-date-today"> <span class="task-board-date task-board-date-today">
<?php elseif (time() > $task['date_due']): ?> <?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 ?> <?php endif ?>
<i class="fa fa-calendar"></i> <i class="fa fa-calendar"></i>
<?= $this->dt->date($task['date_due']) ?> <?= $this->dt->date($task['date_due']) ?>

File diff suppressed because one or more lines are too long

View File

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