{% extends "base.html" %}
{% load i18n plmapp_tags %}
{% block content %}
{% if objects.paginator.count == 0 %}
{% trans "No object belongs to this group." %}
{% else %}
{% trans "Objects" %}
{% blocktrans with objects.start_index as start and objects.end_index as end and objects.paginator.count as total %} {{start}} - {{end}} on {{total}} {% endblocktrans %}
{% for object in objects.object_list %}
{% if object.is_part %}
{% include "parts/identity_card.html" %}
{% else %}
{% include "documents/identity_card.html" %}
{% endif %}
{% endfor %}