{% load i18n %}

{% trans 'Count' %}: {{ count }}

{% for row in components %} {% endfor %}
ID {% trans 'Name' %} {% trans 'Serial number' %} {% trans 'Inventory number' %} {% trans 'Status' %}
{{ row.pk }} {{ row.name }} {% if row.serial_number %}{{ row.serial_number }}{% endif %} {% if row.inventory_number %}{{ row.inventory_number }}{% endif %} {{ row.status }}