Add an alert in taskDetail for overdue events
This commit is contained in:
parent
164d81871a
commit
9d825f74c4
@ -12,7 +12,11 @@
|
|||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<p> Next scheduled time: {{ task.next_recurrence|date }} </p>
|
<p> Next scheduled time: {{ task.next_recurrence|date }} </p>
|
||||||
<p> Overdue: {{ task.is_overdue }} </p>
|
{% if task.is_overdue %}
|
||||||
|
<div class="alert alert-danger">
|
||||||
|
Task is overdue!
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<form method="post">
|
<form method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
Loading…
Reference in New Issue
Block a user