From 9d825f74c4579afded2d82e556513d5d1d59d2a5 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 15 Dec 2020 01:45:15 -0500 Subject: [PATCH] Add an alert in taskDetail for overdue events --- tasks/templates/tasks/taskDetail.djhtml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tasks/templates/tasks/taskDetail.djhtml b/tasks/templates/tasks/taskDetail.djhtml index 178b098..8509f86 100644 --- a/tasks/templates/tasks/taskDetail.djhtml +++ b/tasks/templates/tasks/taskDetail.djhtml @@ -12,7 +12,11 @@

Next scheduled time: {{ task.next_recurrence|date }}

-

Overdue: {{ task.is_overdue }}

+ {% if task.is_overdue %} +
+ Task is overdue! +
+ {% endif %}
{% csrf_token %}