From 7f7debbe0d5d5bbbe4182207137b651be100e408 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 16 Oct 2024 10:06:37 +0100 Subject: Fixes miss-named list view function --- .../templates/engagements/organisation_list.html | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 engagements/templates/engagements/organisation_list.html (limited to 'engagements/templates') diff --git a/engagements/templates/engagements/organisation_list.html b/engagements/templates/engagements/organisation_list.html new file mode 100644 index 0000000..4328067 --- /dev/null +++ b/engagements/templates/engagements/organisation_list.html @@ -0,0 +1,79 @@ +{% extends "core/base.html" %} + +{% block content %} + +
+
+
+

Organisations

+
+
+
+ + + + + + + + + + + + + {% for obj in object_list %} + + + + + + + + + {% endfor %} + +
OrganisationTeamIs Regulated?Responsible PersonsAccountable PersonsInformation Holders
{{ obj.name }}{{ obj.lead_team }} + {% if obj.is_regulated_entity %} + ✅ + {% else %} + ❌ + {% endif %} + + {% if obj.rp.all %} +
    + {% for p in obj.rp.all %} +
  • {{ p.first_name }} {{p.last_name }}
  • + {% endfor %} +
+ {% else %} +

-

+ {% endif %} +
+ {% if obj.ap.all %} +
    + {% for p in obj.ap.all %} +
  • {{ p.first_name }} {{p.last_name }}
  • + {% endfor %} +
+ {% else %} +

-

+ {% endif %} +
+ {% if p.obj.ih.all %} +
    + {% for p in obj.ih.all %} +
  • {{ p.first_name }} {{p.last_name }}
  • + {% endfor %} +
+ {% else %} +

-

+ {% endif %} +
+ +
+ +
+
+
+ +{% endblock content %} -- cgit v1.2.3