diff --git a/RIGS/templates/partials/client_eventdetails.html b/RIGS/templates/partials/client_eventdetails.html index 8e23b873..d920b110 100644 --- a/RIGS/templates/partials/client_eventdetails.html +++ b/RIGS/templates/partials/client_eventdetails.html @@ -1,27 +1,29 @@
+ {% if event.person %}
Contact Details
Person
- {% if event.person %} - {{ event.person.name }} - {% endif %} + {{ event.person.name }}
- + {% if event.person.email %}
Email
{{ event.person.email }}
- + {% endif %} + {% if event.person.phone %}
Phone Number
{{ event.person.phone }}
+ {% endif %}
+ {% endif %} {% if event.organisation %} -
+
Organisation Details
@@ -29,9 +31,10 @@
{{ event.organisation.name }}
- + {% if event.organisation.phone %}
Phone Number
-
{{ object.organisation.phone }}
+
{{ event.organisation.phone }}
+ {% endif %}