feat: admin editable email templates

addresses #869eg7ptr
This commit is contained in:
Björn Fromme
2026-08-17 10:39:19 +02:00
parent 804dab335f
commit 3e08965e48
49 changed files with 1760 additions and 276 deletions
+15
View File
@@ -0,0 +1,15 @@
{% extends 'email/layout.html.twig' %}
{# Every string on `text` was escaped by App\Email\EmailTextRenderer before the <strong>,
<p> and <a> tags in it were introduced, which is what makes |raw safe here. Do not
pass anything into this template that did not come out of that renderer.
The closing button is rendered by the layout. #}
{% block body %}
{% if text.headline is not empty %}
<h1>
{{ text.headline | raw }}
</h1>
{% endif %}
{{ text.bodyHtml | raw }}
{% endblock %}