From c2df72ca3e378ef9f6d9fd4ba8e402d9cfbfa67f Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 23 Oct 2020 12:16:35 +0100 Subject: moved person details up to top of org detail page --- .../organisations/organisation_detail.html | 239 ++++++++++----------- 1 file changed, 118 insertions(+), 121 deletions(-) diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html index 220cc31..de66217 100644 --- a/ctrack/organisations/templates/organisations/organisation_detail.html +++ b/ctrack/organisations/templates/organisations/organisation_detail.html @@ -29,9 +29,61 @@
-
Company Information
+{#
Company Information
#}
+
+ {% for p in people %} +
+
+
+
{{ p.first_name }} {{ p.last_name }} +
+
{{ p.job_title }}
+
+ + + + {% if p.primary_nis_contact %} + + {% else %} + + {% endif %} + + + + + + + + + + + + + + + + + + + + + +
Primary NIS Contact:YesNo
Email:{{ p.email }}
Mobile:{{ p.mobile }}
Landline:{{ p.landline }}
Clearance:{{ p.clearance }}
Clearance Expiry:{{ p.clearance_expiry }}
+
+
+
+
+ {% endfor %} +
+
+
+
+

Company Information

+
+
@@ -248,72 +300,73 @@ -
-
-
-
- -
-
Designation Type:
- - - - - - - - - - - - - {% if cafs|length > 0 %} - {% for caf in cafs %} - - - - - - - -
VersionQuality GradingConfidence GradingFile ContainerContainer TypeFile LocationAssessmentsComments
- {{ caf.version }} - - {{ caf.quality_grading }} - - {{ caf.confidence_grading }} - - {{ caf.file.name }} - - {{ caf.file.type }} - - {{ caf.file.file_store_location }} - -
    - {% for ass in caf.cafassessment_set.all %} -
  • {{ ass }} by {{ ass.completer }} -
  • +
    +
    +
    +
    + +
    + + + + + + + + + + + + + + {% if cafs|length > 0 %} + {% for caf in cafs %} + + + + + + + + + + {% endfor %} - - - - - {% endfor %} - {% else %} - Add - new... - {% endif %} -
    VersionQuality GradingConfidence GradingFile ContainerContainer TypeFile LocationAssessmentsComments
    + {{ caf.version }} + + {{ caf.quality_grading }} + + {{ caf.confidence_grading }} + + {{ caf.file.name }} + + {{ caf.file.type }} + + {{ caf.file.file_store_location }} + +
      + {% for ass in caf.cafassessment_set.all %} +
    • {{ ass }} by {{ ass.completer }} +
    • + {% endfor %} +
    +
    + {{ caf.comments }} +
    - {{ caf.comments }} -
    + {% else %} + Add + new... + {% endif %} +
+
+
+
+
- - - - -
@@ -398,62 +451,6 @@
- - - -
-
-

People

-
-
-
- {% for p in people %} -
-
-
-
{{ p.first_name }} {{ p.last_name }} -
-
{{ p.job_title }}
-
- - - - {% if p.primary_nis_contact %} - - {% else %} - - {% endif %} - - - - - - - - - - - - - - - - - - - - - -
Primary NIS Contact:YesNo
Email:{{ p.email }}
Mobile:{{ p.mobile }}
Landline:{{ p.landline }}
Clearance:{{ p.clearance }}
Clearance Expiry:{{ p.clearance_expiry }}
-
-
-
-
- {% endfor %} -
- -

Addresses

-- cgit v1.2.3