From 20390f8ede3787ee502d1f380cd9344dd6b2d083 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 10 Mar 2020 22:13:32 +0000 Subject: working on card layout --- .../organisations/organisation_detail.html | 35 +++++++++++++++------- 1 file changed, 24 insertions(+), 11 deletions(-) (limited to 'ctrack/organisations') diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html index 9dde56e..61e9fdd 100644 --- a/ctrack/organisations/templates/organisations/organisation_detail.html +++ b/ctrack/organisations/templates/organisations/organisation_detail.html @@ -26,16 +26,20 @@

People

-
-
+
+
{% for p in people %} -
-
    -

    {{ p.first_name }} {{ p.last_name }}

    - +
    +
    +
    {{ p.first_name }} {{ p.last_name }}
    +
    - + {% if p.primary_nis_contact %} + + {% else %} + + {% endif %} @@ -49,11 +53,20 @@ + + + + + + + + + + + +
    Primary NIS Contact:{{ p.primary_nis_contact }}YesNo
    Job Title:Mobile: {{ p.mobile }}
    Landline:{{ p.landline }}
    Clearance:{{ p.clearance }}
    Clearance Expiry:{{ p.clearance_expiry }}
    -
  • {{ p.landline }}
  • -
  • Clearance: {{ p.clearance }}
  • -
  • Clearance Expiry: {{ p.clearance_expiry }}
  • -
+
{% endfor %}
-- cgit v1.2.3