{% for dict_domain in dict_data['list_elem'] %} {% if loop.index0 % 4 == 0 %}
{% endif %}
{{dict_domain["id"]}}

First seen: {{dict_domain["first_seen"]}}
Last_seen: {{dict_domain["first_seen"]}}
Ports: {{dict_domain["ports"]}}

Status: {% if dict_domain["status"] %} UP {% else %} DOWN {% endif %}
{% for tag in dict_domain['tags'] %} {{ tag }} {% endfor %}
{% with obj_type='domain', obj_id=dict_domain["id"], obj_lvl=0%} {% include 'import_export/block_add_user_object_to_export_small.html' %} {% endwith %}
{% if loop.index0 % 4 == 3 %}
{% endif %} {% endfor %} {% if dict_data['list_elem']|length % 4 != 0 %} {% endif %}