{% load helpers %}
ПО устройства {% if device_software %} (всего: {{ soft_count }}) {% endif %}
{% if device_software %} {% for software in device_software %} {% endfor %}
Название версия
{{ software.app.name|slice:":50" }} {% if software.app.name|length > 50 %}...{% endif %} {{ software.version.name }}
{% else %}
Нет
{% endif %}