mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-18 05:30:21 -04:00
Merge pull request #312 from alphagov/remove-service-name-from-email-templates
Only prefix SMS templates with service name
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user