{% load pagination_tags %} {% load i18n %}
Total: {{ total }}
{% if object_list|length > 0 %} {% autopaginate object_list 4 %} {% for object in object_list %} {% if object.o.class_name == 'Layer' %} {% with object.o as layer %} {% include "layers/_layer_list_item.html" %} {% endwith %} {% elif object.o.class_name == 'Map' %} {% with object.o as map %} {% include "maps/_map_list_item.html" %} {% endwith %} {% elif object.o.class_name == 'Document' %} {% with object.o as document %} {% include "documents/_document_list_item.html" %} {% endwith %} {% elif object.o.class_name == 'Profile' %} {% with object.o as profile %} {% include "people/_profile_list_item.html" %} {% endwith %} {% endif %} {% endfor %} {% else %}{% trans "No data found" %}
{% endif %}