summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.markdown1
-rw-r--r--app/Templates/board_task.php2
-rw-r--r--assets/css/app.css4
3 files changed, 6 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index d9371c66..4b176f9f 100644
--- a/README.markdown
+++ b/README.markdown
@@ -69,6 +69,7 @@ Contributors:
- Toomyem: https://github.com/Toomyem
- Troloo: https://github.com/troloo
- Typz: https://github.com/Typz
+- Ybarc: https://github.com/ybarc
There is also many people who have reported bugs or proposed awesome ideas.
diff --git a/app/Templates/board_task.php b/app/Templates/board_task.php
index 2c82b375..e3c210b3 100644
--- a/app/Templates/board_task.php
+++ b/app/Templates/board_task.php
@@ -54,7 +54,7 @@
<div class="task-board-footer">
<?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']) ?>
</div>
<?php endif ?>
diff --git a/assets/css/app.css b/assets/css/app.css
index f0d7b00d..2925e033 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -638,6 +638,10 @@ a.task-board-nobody {
bottom: 0;
left: 5px;
font-weight: bold;
+ color: #000;
+}
+
+.task-board-date-overdue {
color: #D90000;
}