{% block list_nbresults %}
{% set count = Managers.nbResults %}
{% set start = ( Managers.currentPage - 1 ) * Managers.maxPerPage + 1 %}
{% set end = start + Managers.maxPerPage - 1 %}
{% set end = end > count ? count : end %}
{% if Managers.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 %}
{{ 'GetName'|trans({}, 'Admin') }}
|
{% if sortColumn == 'phone' and sortOrder == 'ASC' %}
{% else %}
{% endif %}{{ 'Phone'|trans({}, 'Admin') }}
{% if sortColumn == 'phone' %}
{% if sortColumn == 'phone' and sortOrder == 'ASC' %}
{% else %}
{% endif %}
{% else %}
{% endif %}
|
{% if sortColumn == 'email' and sortOrder == 'ASC' %}
{% else %}
{% endif %}{{ 'Email'|trans({}, 'Admin') }}
{% if sortColumn == 'email' %}
{% if sortColumn == 'email' and sortOrder == 'ASC' %}
{% else %}
{% endif %}
{% else %}
{% endif %}
|
{% if sortColumn == 'skype' and sortOrder == 'ASC' %}
{% else %}
{% endif %}{{ 'Skype'|trans({}, 'Admin') }}
{% if sortColumn == 'skype' %}
{% if sortColumn == 'skype' and sortOrder == 'ASC' %}
{% else %}
{% endif %}
{% else %}
{% endif %}
|
{% trans from "Admingenerator" %}list.header.actions{% endtrans %} |
{% endblock list_thead %}
{% block list_tbody %}
{% if Managers|length > 0 %}
{% for Manager in Managers %}
{% include "WebmilBackendContactBundle:ManagerList:row.html.twig" with { } %}
{% endfor %} {% block object_actions_script %}
{% endblock object_actions_script %}
{% else %}
{% trans from "Admingenerator" %}list.no.results{% endtrans %} |
{% endif %}
{% endblock list_tbody %}
{% block endform_batch_actions %}
{% endblock endform_batch_actions %}