Merge pull request #312 from alphagov/remove-service-name-from-email-templates

Only prefix SMS templates with service name
This commit is contained in:
Chris Hill-Scott
2016-03-22 10:29:47 +00:00
3 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ def view_job(service_id, job_id):
uploaded_file_name=job['original_file_name'],
template=Template(
template,
prefix=service['name'] if template['template_type'] == 'sms' else ''
prefix=service['name']
),
service_id=service_id,
service=service,

View File

@@ -232,7 +232,7 @@ def check_messages(service_id, upload_id):
template = Template(
template,
prefix=service['name'] if template['template_type'] == 'sms' else ''
prefix=service['name']
)
recipients = RecipientCSV(

View File

@@ -14,4 +14,4 @@ Pygments==2.0.2
git+https://github.com/alphagov/notifications-python-client.git@0.3.1#egg=notifications-python-client==0.3.1
git+https://github.com/alphagov/notifications-utils.git@3.0.0#egg=notifications-utils==3.0.0
git+https://github.com/alphagov/notifications-utils.git@3.1.1#egg=notifications-utils==3.1.1