Overdue date have a different color now (merge pull-request #186)

This commit is contained in:
Frédéric Guillot
2014-07-26 08:24:05 -04:00
parent 879f8e7624
commit 052baa13e5
3 changed files with 6 additions and 1 deletions

View File

@@ -69,6 +69,7 @@ Contributors:
- Toomyem: https://github.com/Toomyem - Toomyem: https://github.com/Toomyem
- Troloo: https://github.com/troloo - Troloo: https://github.com/troloo
- Typz: https://github.com/Typz - Typz: https://github.com/Typz
- Ybarc: https://github.com/ybarc
There is also many people who have reported bugs or proposed awesome ideas. There is also many people who have reported bugs or proposed awesome ideas.

View File

@@ -54,7 +54,7 @@
<div class="task-board-footer"> <div class="task-board-footer">
<?php if (! empty($task['date_due'])): ?> <?php if (! empty($task['date_due'])): ?>
<div class="task-board-date"> <div class="task-board-date <?= time() > $task['date_due'] ? 'task-board-date-overdue' : '' ?>">
<?= dt('%B %e, %G', $task['date_due']) ?> <?= dt('%B %e, %G', $task['date_due']) ?>
</div> </div>
<?php endif ?> <?php endif ?>

View File

@@ -638,6 +638,10 @@ a.task-board-nobody {
bottom: 0; bottom: 0;
left: 5px; left: 5px;
font-weight: bold; font-weight: bold;
color: #000;
}
.task-board-date-overdue {
color: #D90000; color: #D90000;
} }