diff --git a/src/modules/Massmailer/templates/admin/mod_massmailer_index.html.twig b/src/modules/Massmailer/templates/admin/mod_massmailer_index.html.twig index 99107e84d..1f7f0dd6c 100644 --- a/src/modules/Massmailer/templates/admin/mod_massmailer_index.html.twig +++ b/src/modules/Massmailer/templates/admin/mod_massmailer_index.html.twig @@ -150,19 +150,17 @@
- {% if not params.test_client_id %} - - {% else %} - {% set test_client = admin.client_get({ 'id': params.test_client_id }) %} - - - {% endif %} -
{{ 'Test emails will be sent to:'|trans }} {{ admin.massmailer_get_test_client }}
+ {% set test_client_email = admin.massmailer_get_test_client %} + +
{{ 'Test emails will be sent to:'|trans }} {{ test_client_email|trans }}
{% endblock %}