{% extends "admin/master.html" %} {% import 'admin/layout.html' as layout with context %} {% from 'govuk_frontend_jinja/components/tag/macro.html' import govukTag %} {% from 'common/govuk/tabs/macro.html' import govukTabs %} {% macro noneHint() %} None {% endmacro %} {% macro statusTag(has_diff) %} {% if has_diff %} {{ govukTag({"text": "Out of sync", "classes": "govuk-tag--red"}) }} {% else %} {{ govukTag({"text": "OK", "classes": "govuk-tag--green"}) }} {% endif %} {% endmacro %} {% macro userList(users) %} {% if users %} {% else %} {{ noneHint() }} {% endif %} {% endmacro %} {% macro deltaOfficerList(officers) %} {% if officers %} {% else %} {{ noneHint() }} {% endif %} {% endmacro %} {% macro certifierLine(name, email) %} {{ name }}
{{ email }} {% endmacro %} {% macro accessGroupsList(groups_str) %} {% if groups_str %} {{ groups_str.split(';') | map('trim') | sort | join('
' | safe) }} {% else %} {{ noneHint() }} {% endif %} {% endmacro %} {% macro grantsList(grants) %} {% if grants %} {% else %} {{ noneHint() }} {% endif %} {% endmacro %} {% set orgTabPanel %} {% for row in org_rows %} {% endfor %}
Organisation Delta certifiers Funding Service certifiers Status
{{ row.organisation.name }} {{ deltaOfficerList(row.delta_officers) }} {{ userList(row.our_certifiers) }} {{ statusTag(row.has_diff) }}
{% endset %} {% set delegatedTabPanel %} {% for row in delegated_rows %} {% if row.entries %} {% for entry in row.entries %} {% if loop.first %} {% endif %} {% endfor %} {% else %} {% endif %} {% endfor %}
Organisation Delegated certifier Delta access groups Funding Service grants
{{ row.organisation.name }}{{ certifierLine(entry.name, entry.email) }} {{ accessGroupsList(entry.delegated_access_groups) }} {{ grantsList(entry.our_grants) }}
{{ row.organisation.name }} {{ noneHint() }} {{ noneHint() }} {{ noneHint() }}
{% endset %} {% block action_panel %}
{{ layout.messages() }}

Delta certifiers

Compare certifiers configured in Delta against the certifiers set up in the Funding Service. The Delta export was last updated on {{ format_datetime_short(delta_last_updated_at) }}.

{{ govukTabs({ "items": [ {"label": "Certifiers", "id": "certifiers-by-organisation", "panel": {"html": orgTabPanel }}, {"label": "Delegated certifiers", "id": "delegated-certifiers", "panel": {"html": delegatedTabPanel}} ] }) }}
{% endblock %}