{% block list_nbresults %}
{% set count = Values.nbResults %}
{% set start = ( Values.currentPage - 1 ) * Values.maxPerPage + 1 %}
{% set end = start + Values.maxPerPage - 1 %}
{% set end = end > count ? count : end %}
{% if Values.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 %}
{% if sortColumn == 'id' and sortOrder == 'ASC' %}
{% else %}
{% endif %}{{ 'Id'|trans({}, 'Admin') }}
{% if sortColumn == 'id' %}
{% if sortColumn == 'id' and sortOrder == 'ASC' %}
{% else %}
{% endif %}
{% else %}
{% endif %}
|
{% if sortColumn == 'position' and sortOrder == 'ASC' %}
{% else %}
{% endif %}{{ 'Position'|trans({}, 'Admin') }}
{% if sortColumn == 'position' %}
{% if sortColumn == 'position' and sortOrder == 'ASC' %}
{% else %}
{% endif %}
{% else %}
{% endif %}
|
{% trans from "Admingenerator" %}list.header.actions{% endtrans %} |
{% endblock list_thead %}
{% block list_tbody %}
{% if Values|length > 0 %}
{% for Value in Values %}
{% include "WebmilBackendAboutBundle:ValuesList: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 %}