{% extends 'admin_base.html.twig' %} {% block title %}Textvorlagen – Fit wie ein Fisch{% endblock %} {% block header_title %}Textvorlagen{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block content %} {% set actions %} Vorlage anlegen {% endset %} {% include 'admin/fisch/_fisch_page_header.html.twig' with { title: 'Textvorlagen', icon: 'envelope-open-text', subtitle: 'E-Mail-Vorlagen des Fisch-Systems — getrennt von Termin- und Event-Center-Vorlagen', actions_html: actions } %} {% for label, messages in app.flashes %} {% for message in messages %} {% endfor %} {% endfor %}
Absender: Für „Fit wie ein Fisch“ ist noch keine eigene E-Mail-Adresse eingerichtet. Bis die Zugangsdaten vorliegen, versendet das System über {{ senderEmail ?: 'die allgemeine Adresse' }}. Eine abweichende Absenderadresse lässt sich je Vorlage schon eintragen — sie greift, sobald das Postfach hinterlegt ist.
Vorlagen nach Anlass
{% for type, label in types %} {% set list = templatesByType[type]|default([]) %} {% if list is empty %} {% else %} {% for template in list %} {% if loop.first %} {% endif %} {% endfor %} {% endif %} {% endfor %}
Anlass Vorlage Betreff Gilt für Status Aktionen
{{ label }}
{{ type }}
Keine eigene Vorlage — es geht der Standardtext des Systems raus. Anlegen
{{ label }}
{{ type }}
{{ template.name }} {{ template.subject }} {% if template.pool %} {{ template.pool.name }} {% else %} alle Schwimmbäder {% endif %} {% if template.isActive %} Aktiv {% else %} Inaktiv {% endif %} {% if template.fromEmail %}
{{ template.fromEmail }}
{% endif %}
{% endblock %}