{% block list_nbresults %}
{% set count = Contacts.nbResults %} {% set start = ( Contacts.currentPage - 1 ) * Contacts.maxPerPage + 1 %} {% set end = start + Contacts.maxPerPage - 1 %} {% set end = end > count ? count : end %} {% if Contacts.haveToPaginate %} {% trans with {'%start%': start,'%end%': end,'%count%': count,} from "Admingenerator" %}list.display.range{% endtrans %} {% elseif count > 0 %} {% trans with {'%count%': count,} from "Admingenerator" %}list.display.all{% endtrans %} {% endif %}
{% endblock list_nbresults %} {% block form_batch_actions %} {% endblock form_batch_actions %} {% block list_thead %} {% endblock list_thead %} {% block list_tbody %} {% if Contacts|length > 0 %} {% for Contact in Contacts %} {% include "WebmilBackendContactBundle:ContactList:row.html.twig" with { } %} {% endfor %} {% block object_actions_script %} {% endblock object_actions_script %} {% else %} {% endif %} {% endblock list_tbody %}
{% if sortColumn == 'title' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Назва'|trans({}, 'Admin') }} {% if sortColumn == 'title' %} {% if sortColumn == 'title' and sortOrder == 'ASC' %} {% else %} {% endif %} {% else %} {% endif %} {% if sortColumn == 'region' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Статус'|trans({}, 'Admin') }} {% if sortColumn == 'region' %} {% if sortColumn == 'region' and sortOrder == 'ASC' %} {% else %} {% endif %} {% else %} {% endif %} {% trans from "Admingenerator" %}list.header.actions{% endtrans %}
{% trans from "Admingenerator" %}list.no.results{% endtrans %}
{% block generic_actions %} {% block generic_action_new %} {% trans from "Admingenerator" %}action.generic.new{% endtrans %} {% endblock generic_action_new %} {% block generic_actions_script %} {% endblock generic_actions_script %} {% endblock generic_actions %}
{% block list_paginator_perpage %} {% if Contacts.haveToPaginate or Contacts.maxPerPage is not sameas(10) %}
{% trans from "Admingenerator" %}pagerfanta.view.perpage{% endtrans %}
{{ "pagerfanta.num.elements"|trans({"%number%": Contacts.maxPerPage}, "Admingenerator") }}
{% endif %} {% endblock list_paginator_perpage %}
{% block list_paginator_pages %} {% endblock list_paginator_pages %}
{% block endform_batch_actions %} {% endblock endform_batch_actions %}