{% load static i18n %} {% load check_permissions %}

{% blocktranslate count counter=texts|length trimmed %} Text {% plural %} Texts {% endblocktranslate %} {% if user|has_create_permission %}     {% translate 'Add' %} {% endif %}

{% if user|has_create_permission %} {% endif %}
{% for text in texts %}
{{ text.text|linebreaks }} {% if text.edition %} — {{ text.edition.descriptions.first.description }} {% endif %}
{% endfor %}
{% for text in texts reversed %}
{{ text.text|linebreaks }} {% if text.edition %} — {{ text.edition.descriptions.first.description }} {% endif %}
{% endfor %}