{#
/**
* @file
* Default theme implementation for a summary of a webform email handler.
*
* Available variables:
* - settings: The current configuration for this email handler.
* - handler: The email handler.
*
* @ingroup themeable
*/
#}
{% if settings.debug %}{{ 'Debugging is enabled'|t }}
{% endif %}
{{ 'To:'|t }} {{ settings.to_mail }}
{% if settings.cc_mail %}{{ 'CC:'|t }} {{ settings.cc_mail }}
{% endif %}
{% if settings.bcc_mail %}{{ 'BCC:'|t }} {{ settings.bcc_mail }}
{% endif %}
{{ 'From:'|t }} {% if settings.from_name %}{{ settings.from_name }}{% endif %} <{{ settings.from_mail }}>
{{ 'Subject:'|t }} {{ settings.subject }}
{{ 'Settings:'|t }} {{ settings.html ? 'HTML' : 'Plain text'|t }} {{ settings.html and settings.attachments ? '/' : '' }}{{ settings.attachments ? 'Attachments'|t : '' }} {{ settings.twig ? '(Twig)'|t : '' }}
{{ 'Sent when:'|t }} {% if settings.states %}{{ settings.states|join('; ') }}{% else %}{{ 'Custom'|t }}{% endif %}
{% if settings.theme_name %}{{ 'Theme:'|t }} {{ settings.theme_name }}
{% endif %}