diff --git a/web/themes/custom/materiotheme/templates/email--simplenews-newsletter.html.twig b/web/themes/custom/materiotheme/templates/email--simplenews-newsletter.html.twig index b6a894ff..ce853977 100644 --- a/web/themes/custom/materiotheme/templates/email--simplenews-newsletter.html.twig +++ b/web/themes/custom/materiotheme/templates/email--simplenews-newsletter.html.twig @@ -82,20 +82,28 @@ -{% if not opt_out_hidden %} - {% if format == 'html' %} -
- {% else %} - -- {{ unsubscribe_text }} : [simplenews-subscriber:unsubscribe-url] + + {# + {% if not opt_out_hidden %} + {% if format == 'html' %} + + {% else %} + -- {{ unsubscribe_text }} : [simplenews-subscriber:unsubscribe-url] + {% endif %} {% endif %} -{% endif %} - -{% if key == 'test' %} - - - - {{ test_message }} - - - -{% endif %} + + {% if key == 'test' %} + - - - {{ test_message }} - - - + {% endif %} + #} + {% if test %} + - - - this is a test message - - - + {% endif %}