From bdd921a5ddc0c13dea8bb3555b97c6dd1b6824d1 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 23 Oct 2020 15:48:07 +0100 Subject: improved the person detail table slightly --- .../templates/organisations/person_detail.html | 212 ++++++++++----------- 1 file changed, 106 insertions(+), 106 deletions(-) (limited to 'ctrack/organisations') diff --git a/ctrack/organisations/templates/organisations/person_detail.html b/ctrack/organisations/templates/organisations/person_detail.html index 1bedb35..b51a891 100644 --- a/ctrack/organisations/templates/organisations/person_detail.html +++ b/ctrack/organisations/templates/organisations/person_detail.html @@ -1,121 +1,121 @@ {% extends "base.html" %} {% block title %} -{{ person.get_full_name }} + {{ person.get_full_name }} {% endblock %} {% block content %} -
+
-

{{ person.get_full_name }}

+
+

{{ person.get_full_name }} | {{ person.organisation.name }} + {% if person.primary_nis_contact %} + NIS Primary Contact + {% elif person.voluntary_point_of_contact %} + Voluntary Point of Contact + {% else %} +   + {% endif %} +

+
-
{{ person.organisation.name }}
-
-
-
- - - - - - - - - - - - - - - - - - - - {% if person.primary_nis_contact %} - - {% else %} - - {% endif %} - - - - {% if person.voluntary_point_of_contact %} - - {% else %} - - {% endif %} - - - - {% if person.has_egress %} - - {% else %} - - {% endif %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name{{ person.get_full_name }}
Job Title{{ person.job_title }}
Organisation{{ person.organisation.name }}
Role{{ person.role.name }}
NIS Primary Point of ContactYesNo
Voluntary Point of ContactYesNo
Has EgressYesNo
Email{{ person.email }}
Secondary Email{{ person.secondary_email }}
Mobile Phone{{ person.mobile }}
Land line{{ person.landline }}
Updated{{ person.date_updated }}
Clearance Level{{ person.clearance }}
Clearance Sponsor{{ person.clearance_sponsor.get_full_name }}
Clearance Start Date{{ person.clearance_start_date }}
Clearance Last Checked{{ person.clearance_last_checked }}
Clearance Expiry{{ person.clearance_expiry }}
Active{{ person.active }}
Date Ended{{ person.date_ended }}
Predecessor{{ person.predecessor }}
Comments{{ person.comments }}
+
+
+

Key Details

+ + + + + + + + + + + + + + + + + + + + + +
Job Title{{ person.job_title }}
Role{{ person.role.name }}
Active{{ person.active }}
Predecessor{{ person.predecessor }}
Comments{{ person.comments }}
+ +

Contact Details

+ + + + {% if person.has_egress %} + + {% else %} + + {% endif %} + + + + + + + + + + + + + + + + + + + + + + +
Has EgressYesNo
Email{{ person.email }}
Secondary Email{{ person.secondary_email }}
Mobile Phone{{ person.mobile }}
Land line{{ person.landline }}
Updated{{ person.date_updated }}
+ +

Clearance Details

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Clearance Level{{ person.clearance }}
Clearance Sponsor{{ person.clearance_sponsor.get_full_name }}
Clearance Start Date{{ person.clearance_start_date }}
Clearance Last Checked{{ person.clearance_last_checked }}
Clearance Expiry{{ person.clearance_expiry }}
Active{{ person.active }}
Date Ended{{ person.date_ended }}
+
+
-
+
{% endblock content %} -- cgit v1.2.3