diff --git a/dojo/templates/dojo/engagement.html b/dojo/templates/dojo/engagement.html index dc8d2d44169..051dc804858 100644 --- a/dojo/templates/dojo/engagement.html +++ b/dojo/templates/dojo/engagement.html @@ -151,7 +151,7 @@

{{ e.target_start }} - {{ e.target_end }} - {% if e.is_overdue %} + {% if e.is_overdue and e.status != 'Completed' %} {{ e.target_end|overdue }} overdue diff --git a/dojo/templates/dojo/engagements_all.html b/dojo/templates/dojo/engagements_all.html index 5f44ec6da70..80ae6c3092f 100644 --- a/dojo/templates/dojo/engagements_all.html +++ b/dojo/templates/dojo/engagements_all.html @@ -141,7 +141,7 @@

{% endif %} {{ e.status }} {{ e.target_start }} - {{ e.target_end }} - {% if e.is_overdue and e.active %} + {% if e.is_overdue and e.active and e.status != 'Completed' %}
{{ e.target_end|overdue }} overdue
{% endif %} diff --git a/dojo/templates/dojo/snippets/engagement_list.html b/dojo/templates/dojo/snippets/engagement_list.html index 514aa7ee33c..c502e142c6e 100644 --- a/dojo/templates/dojo/snippets/engagement_list.html +++ b/dojo/templates/dojo/snippets/engagement_list.html @@ -179,7 +179,7 @@

{% if status == "open" %}Active{% elif status == "paused" %}Paused {% else {{ eng.target_start|datediff_time:eng.target_end }} {% if status == "open" %} - {% if eng.is_overdue %} + {% if eng.is_overdue and eng.status != 'Completed' %}
{{ eng.target_end|overdue }} overdue