Allow to set custom template for email receivers
Change-Id: I9fb7fbd1946e564e1e245ea226c5bbe7440f25d4 Closes-Bug: PROD-18240
This commit is contained in:
parent
55f8d880be
commit
be606a43c4
1 changed files with 9 additions and 0 deletions
|
@ -118,6 +118,15 @@ receivers:
|
||||||
{%- if email.send_resolved is defined %}
|
{%- if email.send_resolved is defined %}
|
||||||
send_resolved: {{ email.send_resolved | lower }}
|
send_resolved: {{ email.send_resolved | lower }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
{%- if email.html is defined %}
|
||||||
|
html: '{{ email.html }}'
|
||||||
|
{%- endif %}
|
||||||
|
{%- if email.headers is defined %}
|
||||||
|
headers:
|
||||||
|
{%- for header, value in email.headers.iteritems() %}
|
||||||
|
{{ header }}: {{ value }}
|
||||||
|
{%- endfor %}
|
||||||
|
{%- endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Reference in a new issue