From 1227508f15e7f4379db7bad747d8e91c840b818e Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sat, 24 Oct 2020 15:20:53 +0100 Subject: added message to say there are no events on org detail page when there are none --- .../templates/organisations/organisation_detail.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html index 46d1aba..c4bae23 100644 --- a/ctrack/organisations/templates/organisations/organisation_detail.html +++ b/ctrack/organisations/templates/organisations/organisation_detail.html @@ -189,7 +189,8 @@
- + {% if single_datetime_events %} +
@@ -255,6 +256,9 @@ {% endfor %}
Type
+ {% else %} +

No events.

+ {% endif %}
@@ -321,7 +325,7 @@ {% else %} -

No notes.

+

No notes.

{% endif %} -- cgit v1.2.3