{# Erwartet: fallbackEmails = list of {system,key,label,subject,html,note} #} {% if fallbackEmails is defined and fallbackEmails|length > 0 %}
Neutrale Fallback-E-Mail (System) nicht editierbar

Wird gesendet, wenn kein aktives, passendes DB-Template gefunden wird (kursgebunden oder global ohne Kurszuordnung). Inhalt entspricht dem echten Versand.

{% for item in fallbackEmails %}
{{ item.label }} {{ item.system == 'bz' ? 'BZ' : 'Swim' }}

{{ item.note }}

Betreff: {{ item.subject }}
{{ item.html|raw }}
{% endfor %}
{% endif %}