22 lines
1.2 KiB
Twig
22 lines
1.2 KiB
Twig
{#
|
|
/**
|
|
* @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 %}<b class="color-error">{{ 'Debugging is enabled'|t }}</b><br />{% endif %}
|
|
<b>{{ 'To:'|t }}</b> {{ settings.to_mail }}<br />
|
|
{% if settings.cc_mail %}<b>{{ 'CC:'|t }}</b> {{ settings.cc_mail }}<br />{% endif %}
|
|
{% if settings.bcc_mail %}<b>{{ 'BCC:'|t }}</b> {{ settings.bcc_mail }}<br />{% endif %}
|
|
<b>{{ 'From:'|t }}</b> {% if settings.from_name %}{{ settings.from_name }}{% endif %} <{{ settings.from_mail }}><br />
|
|
<b>{{ 'Subject:'|t }}</b> {{ settings.subject }}<br />
|
|
<b>{{ 'Settings:'|t }}</b> {{ settings.html ? 'HTML' : 'Plain text'|t }} {{ settings.html and settings.attachments ? '/' : '' }}{{ settings.attachments ? 'Attachments'|t : '' }} {{ settings.twig ? '(Twig)'|t : '' }}<br />
|
|
<b>{{ 'Sent when:'|t }}</b> {% if settings.states %}{{ settings.states|join('; ') }}{% else %}{{ 'Custom'|t }}{% endif %}<br />
|
|
{% if settings.theme_name %}<b>{{ 'Theme:'|t }}</b> {{ settings.theme_name }}<br />{% endif %}
|