Merge pull request #446 from alphagov/fix_link_bug

Updated notifications_utils version and associated code. Added email …
This commit is contained in:
NIcholas Staples
2016-04-14 12:06:55 +01:00
17 changed files with 35 additions and 23 deletions

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

View File

@@ -23,7 +23,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

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