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
+1 -1
View File
@@ -46,7 +46,7 @@
{% if 'email' == template.template_type %}
{{ email_message(
template.subject,
template.formatted_subject_as_markup,
template.formatted_as_markup if errors else template.replaced,
from_address='{}@notifications.service.gov.uk'.format(current_service.email_from),
from_name=current_service.name