{% if records.count() > 0 %} {% if records.rejected().count() > 0 %}
{{ "You do not have rights to remove all selected documents. Are you sure ?" | trans }}
{% endif %}
{% if trashableCount > 0 %}
{{ trashableCount }} {{ "prod:app trash: record-move-to-trash" | trans }}
{% endif %} {% if deletableCount > 0 %}
{{ deletableCount }} {{ "prod:app trash: record-to-delete" | trans }}
{% endif %}
{% elseif records.received().count() == 0 %}
{{ "No document selected" | trans }}
{% else %}
{{ "You do not have rights to remove selected documents" | trans }}
{% endif %}