Merge pull request #2394 from alphagov/send-letter-filename-to-template-preview

Pass letter logo filename to template preview
This commit is contained in:
Katie Smith
2018-10-19 10:58:08 +01:00
committed by GitHub
3 changed files with 6 additions and 1 deletions

View File

@@ -278,6 +278,7 @@ class Service(dict):
'id',
'inbound_api',
'letter_contact_block',
'letter_logo_filename',
'message_limit',
'name',
'organisation_type',

View File

@@ -11,6 +11,7 @@ class TemplatePreview:
'letter_contact_block': template.get('reply_to_text', ''),
'template': template,
'values': values,
'filename': current_service.letter_logo_filename,
'dvla_org_id': current_service.dvla_organisation,
}
resp = requests.post(