{% block list_nbresults %}
{% set count = Reagents.nbResults %} {% set start = ( Reagents.currentPage - 1 ) * Reagents.maxPerPage + 1 %} {% set end = start + Reagents.maxPerPage - 1 %} {% set end = end > count ? count : end %} {% if Reagents.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 Reagents|length > 0 %} {% for Reagent in Reagents %} {% include "WebmilBackendProductBundle:ReagentList:row.html.twig" with { } %} {% endfor %} {% block object_actions_script %} {% endblock object_actions_script %} {% else %} {% endif %} {% endblock list_tbody %}
{% 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 == 'catalog' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Catalog'|trans({}, 'Admin') }} {% if sortColumn == 'catalog' %} {% if sortColumn == 'catalog' and sortOrder == 'ASC' %} {% else %} {% endif %} {% else %} {% endif %} {% if sortColumn == 'internalControl' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'InternalControl'|trans({}, 'Admin') }} {% if sortColumn == 'internalControl' %} {% if sortColumn == 'internalControl' and sortOrder == 'ASC' %} {% else %} {% endif %} {% else %} {% endif %} {% if sortColumn == 'capacity' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Capacity'|trans({}, 'Admin') }} {% if sortColumn == 'capacity' %} {% if sortColumn == 'capacity' and sortOrder == 'ASC' %} {% else %} {% endif %} {% else %} {% endif %} {% if sortColumn == 'reagent1' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Reagent1'|trans({}, 'Admin') }} {% if sortColumn == 'reagent1' %} {% if sortColumn == 'reagent1' and sortOrder == 'ASC' %} {% else %} {% endif %} {% else %} {% endif %} {% if sortColumn == 'reagent_2' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Reagent 2'|trans({}, 'Admin') }} {% if sortColumn == 'reagent_2' %} {% if sortColumn == 'reagent_2' and sortOrder == 'ASC' %} {% else %} {% endif %} {% else %} {% endif %} {% if sortColumn == 'size' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Size'|trans({}, 'Admin') }} {% if sortColumn == 'size' %} {% if sortColumn == 'size' and sortOrder == 'ASC' %} {% else %} {% endif %} {% else %} {% endif %} {% if sortColumn == 'method' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Method'|trans({}, 'Admin') }} {% if sortColumn == 'method' %} {% if sortColumn == 'method' and sortOrder == 'ASC' %} {% else %} {% endif %} {% else %} {% endif %} {% if sortColumn == 'createdAt' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'CreatedAt'|trans({}, 'Admin') }} {% if sortColumn == 'createdAt' %} {% if sortColumn == 'createdAt' and sortOrder == 'ASC' %} {% else %} {% endif %} {% else %} {% endif %} {% if sortColumn == 'updatedAt' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'UpdatedAt'|trans({}, 'Admin') }} {% if sortColumn == 'updatedAt' %} {% if sortColumn == 'updatedAt' and sortOrder == 'ASC' %} {% else %} {% endif %} {% else %} {% endif %} {% trans from "Admingenerator" %}list.header.actions{% endtrans %}
{% trans from "Admingenerator" %}list.no.results{% endtrans %}
{% block batch_actions %}
{% endblock batch_actions %}
{% 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 Reagents.haveToPaginate or Reagents.maxPerPage is not sameas(10) %}
{% trans from "Admingenerator" %}pagerfanta.view.perpage{% endtrans %}
{{ "pagerfanta.num.elements"|trans({"%number%": Reagents.maxPerPage}, "Admingenerator") }}
{% endif %} {% endblock list_paginator_perpage %}
{% block list_paginator_pages %} {% endblock list_paginator_pages %}
{% block endform_batch_actions %}
{% endblock endform_batch_actions %}