From 0889c968f015f6525e5fc6f01fdfe2255289d1e3 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 14 Sep 2020 11:39:13 +0100 Subject: tidied up person detail page --- .../organisations/organisation_detail.html | 2 +- .../templates/organisations/person_detail.html | 24 ++++++++++++++++------ 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html index e05d33d..c47d782 100644 --- a/ctrack/organisations/templates/organisations/organisation_detail.html +++ b/ctrack/organisations/templates/organisations/organisation_detail.html @@ -231,7 +231,7 @@
-
{{ p.first_name }} {{ p.last_name }}
+
{{ p.first_name }} {{ p.last_name }}
{{ p.job_title }}
diff --git a/ctrack/organisations/templates/organisations/person_detail.html b/ctrack/organisations/templates/organisations/person_detail.html index d434d20..1bedb35 100644 --- a/ctrack/organisations/templates/organisations/person_detail.html +++ b/ctrack/organisations/templates/organisations/person_detail.html @@ -27,7 +27,7 @@ - + @@ -35,23 +35,35 @@ - + {% if person.primary_nis_contact %} + + {% else %} + + {% endif %} - + {% if person.voluntary_point_of_contact %} + + {% else %} + + {% endif %} - + {% if person.has_egress %} + + {% else %} + + {% endif %} - + - + -- cgit v1.2.3
Organisation{{ person.organisation.name }}{{ person.organisation.name }}
Role
NIS Primary Point of Contact{{ person.primary_nis_contact }}YesNo
Voluntary Point of Contact{{ person.voluntary_point_of_contact }}YesNo
Has Egress{{ person.has_egress }}YesNo
Email{{ person.email }}{{ person.email }}
Secondary Email{{ person.secondary_email }}{{ person.secondary_email }}
Mobile Phone