Merge pull request #1168 from alphagov/contact-letter-block

add letter_contact_block edit fields
This commit is contained in:
Chris Hill-Scott
2017-03-06 11:11:54 +00:00
committed by GitHub
13 changed files with 208 additions and 13 deletions

View File

@@ -52,7 +52,8 @@ def service_json(
can_send_letters=False,
organisation=None,
branding='govuk',
created_at=None
created_at=None,
letter_contact_block=None
):
if users is None:
users = []
@@ -70,7 +71,8 @@ def service_json(
'can_send_letters': can_send_letters,
'organisation': organisation,
'branding': branding,
'created_at': created_at or str(datetime.utcnow())
'created_at': created_at or str(datetime.utcnow()),
'letter_contact_block': letter_contact_block
}