From 5314ffb3308a02de8e8bd51cb4ce1784181a4a81 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 29 Sep 2020 12:03:54 +0100 Subject: Can now add an engagement event from org detail with only relevant people in dropdown nearly converted engagement event form so that it is based on org tidy in prep for big change to engagement event form link to related CAF included in the OES engagements table formatting --- .../templates/organisations/organisation_detail.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'ctrack/organisations/templates') diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html index 4af5d6f..708f5a2 100644 --- a/ctrack/organisations/templates/organisations/organisation_detail.html +++ b/ctrack/organisations/templates/organisations/organisation_detail.html @@ -200,7 +200,7 @@
-
OES EngagementsEngagementsAdd new...
@@ -210,6 +210,7 @@ Date Type Description + CAF Response Requested Response Due @@ -220,6 +221,11 @@ {{ event.date |date:"D d M Y H:i" }} {{ event.type }} {{ event.short_description }} + {% if event.related_caf %} + {{ event.related_caf }} + {% else %} + NA + {% endif %} {% if event.response_date_requested %} {{ event.response_date_requested |date:"D d M Y" }} {% else %} @@ -229,7 +235,7 @@ {{ event.response_received | date:"D d M Y" }} {% else %} {% if event.response_date_requested %} - {{ event.days_to_response_due.days}} {{ event.days_to_response_due.day_str }} + {{ event.days_to_response_due.days }} {{ event.days_to_response_due.day_str }} {% else %} NA {% endif %} @@ -237,7 +243,7 @@ {% endfor %} {% else %} - Add + Add new... {% endif %} -- cgit v1.2.3