{% set canValid = false %}
{% if records.databoxes() | length > 1 %}
{{ 'prod::Les enregistrements ne provienent pas tous de la meme base et ne peuvent donc etre traites ensemble' | trans }}
{% elseif records | length == 0 %}
{{ 'prod::Vous n\'avez le droit d\'effectuer l\'operation sur aucun document' | trans }}
{% elseif collections | length == 0 %}
{{ 'erreur : Vous n\'avez pas les droits' | trans }}
{% else %} {% set canValid = true %} {% if records | length != records.received() | length %}
{% set countable = records.received().count() - records.count() %} {% if countable == 1 %} {% trans %}One document can not be modified.{% endtrans %} {% else %} {% trans with {'%countable%' : countable} %}%countable% documents can not be modified.{% endtrans %} {% endif %}
{% endif %}
{% set countable = records | length %} {% if countable == 1 %} {% trans %}Move one record to the chosen collection in the list.{% endtrans %} {% else %} {% trans with {'%countable%' : countable} %}Move %countable% records to the chosen collection in the list.{% endtrans %} {% endif %}
{% if records.stories() | length > 0 %}
{% endif %} {% endif %}
{% if canValid %} {% endif %}