{% load template_utils %}

Endpoints

{% for endpoint_type, endpoints in incident.metadata.endpoints.items %} {% if endpoints %} {% with endpoint_table=incident_details_tables|get_item:endpoint_type %}
{{ endpoint_type }}
{% for column in endpoint_table %}{% endfor %} {% for endpoint in endpoints %} {% with endpoint_counter=forloop.counter %} {% for column in endpoint_table %} {% if column.is_endpoint_column %} {% endif %} {% endfor %} {% for event in endpoint.events %} {% if not forloop.first %}{% endif %} {% for column in endpoint_table %} {% if not column.is_endpoint_column %} {% endif %} {% endfor %} {% if not forloop.last %}{% endif %} {% endfor %} {% endwith %} {% endfor %}
{{ column.name }}
{% include column.cell_template with endpoint=endpoint %}
{% include column.cell_template with event=event %}
{% endwith %} {% endif %} {% endfor %}