{% load i18n %}

<div id="correspondence" class="mb-6">

  {% block foirequest_messages %}
    {% for message in object.messages %}
      {% include "foirequest/alpha/body/message/message.html" %}
      {% empty %}
        <p>{% blocktrans %}No messages yet{% endblocktrans %}</p>
    {% endfor %}
  {% endblock foirequest_messages %}
</div>
{% load i18n %}

<div id="correspondence" class="mb-6">

  {% block foirequest_messages %}
    {% for message in object.messages %}
      {% if forloop.last and object.messages|length > 1 %}
        {% block foirequest_message_before_last %}{% endblock %}
      {% endif %}

      {% include "foirequest/alpha/body/message/message.html" %}

      {% if forloop.last and object.messages|length == 1 %}
        {% block foirequest_message_after_single %}{% endblock %}
      {% endif %}

      {% empty %}
        <p>{% blocktrans %}No messages yet{% endblocktrans %}</p>
    {% endfor %}
  {% endblock foirequest_messages %}
</div>
Add ad blocks in request message list
Add ad blocks in request message list