Updated notifications_utils version and associated code. Added email subject formatting for placeholders.

This commit is contained in:
Nicholas Staples
2016-04-14 12:00:55 +01:00
parent 33cc90488c
commit 3865c722fc
17 changed files with 35 additions and 23 deletions

View File

@@ -21,7 +21,7 @@
</div>
{% elif 'email' == template.template_type %}
{{ email_message(
template.subject,
template.formatted_subject_as_markup,
template.formatted_as_markup,
from_address='{}@notifications.service.gov.uk'.format(current_service.email_from),
from_name=current_service.name