From 4753d545dbe2cb879f27b3958cf1196fca5a1791 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 22 Oct 2020 08:09:39 +0100 Subject: turned the Events list on org detail page into an Notes and Events table --- .../organisations/organisation_detail.html | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'ctrack') diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html index fef5892..f64d72e 100644 --- a/ctrack/organisations/templates/organisations/organisation_detail.html +++ b/ctrack/organisations/templates/organisations/organisation_detail.html @@ -81,6 +81,7 @@ +{# TODO - split off the notes#}
@@ -139,6 +140,47 @@
+ + + + + + + + + + + + {% for event in single_datetime_events %} + + + + + + + + {% endfor %} + +
TypeDateDescriptionParticipantsComments
+ {{ event.type_descriptor }} + {% if event.private %} + PRIVATE + {% endif %} + + {% if event.date %} + {{ event.date|date:"j M Y G:H" }} + {% else %} + NA + {% endif %} + {{ event.short_description }} + {% if event.participants %} + {% for person in event.participants.all %} + {{ person }}   + {% endfor %} + {% else %} + NA + {% endif %} + {{ event.comments }}
{% for event in single_datetime_events %}
-- cgit v1.2.3