Prefix text messages with service name

Brings in: https://github.com/alphagov/notifications-utils/pull/4
This commit is contained in:
Chris Hill-Scott
2016-02-26 09:33:45 +00:00
parent 70ef2f5a6f
commit 2f91848a42
5 changed files with 17 additions and 9 deletions

View File

@@ -16,13 +16,13 @@
{% if 'sms' == template.template_type %}
<div class="grid-row">
<div class="column-two-thirds">
{{ sms_message(template) }}
{{ sms_message(template.formatted_as_markup) }}
</div>
</div>
{% elif 'email' == template.template_type %}
{{ email_message(
template.subject,
template,
template.formatted_as_markup,
from_address='{}@notifications.service.gov.uk'.format(service.email_from),
from_name=service.name
) }}