{% if stage_counts.get('__all__', total) > 0 %}{% endif %}
{% for item in items %}
{{ item.public_identifier }}{% if item.url %}{% endif %}{{ _('stage.' ~ item.state|lower|replace(' ', '_')) }}
{% else %}

{{ _('customers.empty_filtered') if stage_counts.get('__all__', total) > 0 else _('customers.empty') }}

{% endfor %}
{% if total > 0 %}
{% if customer_paging %}{% include 'partials/pagination.html' %}{% elif has_more %}
{{ _('customers.load_more') }}
{% endif %} {% if not customer_paging %}{{ _('customers.total', total=total) }}{% endif %}
{% endif %}