feat: list the other recipients and reply to the sender in assignment mailings
This commit is contained in:
1 parent
e0496dc61f
commit
f45ac6ac0b
15 files changed
+311
-19
No files matched your search
@@ -0,0 +1,10 @@
|
||||
{# The other recipients of an assignment mailing, see TeamerMailingService::sendMailing().
|
||||
Plain values, auto-escaped - never pass them through |raw. #}
|
||||
{% if colleagues is not empty %}
|
||||
<h3>Deine Kolleg:innen sind:</h3>
|
||||
<ul>
|
||||
{% for colleague in colleagues %}
|
||||
<li>{{ colleague.fullName }} (<a href="mailto:{{ colleague.email }}">{{ colleague.email }}</a>)</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
@@ -5,4 +5,6 @@
|
||||
Do not pass anything into this template that did not come out of that renderer. #}
|
||||
{% block body %}
|
||||
{{ bodyHtml | raw }}
|
||||
|
||||
{{ include('email/_colleagues.html.twig', {colleagues: colleagues | default([])}) }}
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user