{% import "helper.twig" as helper %}

{% if entity.iD %}{{ entity.id }}{% else %}-{% endif %}

{% if entity.id is not null and date(entity.addedDate) > date('1900/01/01') %} {{ helper.date_user_combination(entity, false, "long") }} {% else %} - {% endif %}

{% if entity.id is not null and date(entity.lastModified) > date('1900/01/01') %} {{ helper.date_user_combination(entity, true, "long") }} {% else %} - {% endif %}

{% if entity.id and partsContainingElement %} {{ repo.partsCount(entity) }} {% else %} - {% endif %}

{# Check if we really have a structural element #} {% if entity.parent is defined %}

{% if entity.id and partsContainingElement %} {{ repo.partsCountRecursive(entity) }} {% else %} - {% endif %}

{% endif %}