{% for item in items %} {{ loop.first ? '
' : '' }} {% include '@image/backend/includes/box.html.twig' %} {% if itemsByPage is not empty and itemsByPage > 0 %} {% if loop.length > itemsByPage and is_int(loop.index/itemsByPage) %} {{ items | length }}{{ loop.index/itemsByPage }}/{{ (loop.length/itemsByPage) | round(0, 'ceil') }}
{% endif %} {% endif %} {% if loop.last %} {{ items | length }}{{ (loop.length/itemsByPage) | round(0, 'ceil') }}/{{ (loop.length/itemsByPage) | round(0, 'ceil') }}
{% endif %} {% endfor %}