{% load i18n %} {# Single source for postal first page: browser preview + PDF (via body_to_pdf). #} {% if provider_address_css_lre %} {% endif %}
{% if postal_letter_recipient %} {% if postal_letter_recipient.name %}
{{ postal_letter_recipient.name }}
{% endif %} {% for line in postal_letter_recipient.address.text_3lines %}
{{ line|join:" " }}
{% empty %}
-
{% endfor %} {% else %}
{% trans "No recipient" %}
{% endif %}
{% if missive.first_document_compiled %} {{ missive.first_document_compiled|safe }} {% elif missive.body_html %} {{ missive.body_html|safe }} {% elif missive.body_text %}
{{ missive.body_text }}
{% else %}

{% trans "No content" %}

{% endif %}