{% extends 'D2CustomerBundle::base_admin.html.twig' %} {% block head_script_extra %} {% endblock head_script_extra %} {% block page_header %}
{% for k, v in app.request.query %} {% if k|lower not in ['search', 'page', 'from_date', 'to_date'] %} {% endif %} {% endfor %}
Displaying {{ (document_list.getCurrentPageNumber()-1) * document_list.getItemNumberPerPage() + 1 }} to {{ ((document_list.getCurrentPageNumber()-1) * document_list.getItemNumberPerPage()) + (document_list.getItems()|length) }} of {{ document_list.getTotalItemCount() }} documents
{% endblock page_header %} {% block content %}
{% for entity in document_list %} {% if loop.first %}
{% endif %}
{{ entity.origPath|trim }} {% if is_granted('ROLE_ADMIN_CUSTOMER_DOC_DELETE') %}×{% endif %}
document
{{ entity.title|trim }}
{% if not loop.first and loop.index/4 == 0 %}
{% endif %} {% endfor %}
{% endblock content %}