add letter_contact_block edit fields

no actual template functionality yet - just the ability for services
that have letters enabled to edit a 10 line block that will go on the
top right hand side of their letters with contact information
This commit is contained in:
Leo Hemsted
2017-03-02 15:56:28 +00:00
committed by Chris Hill-Scott
parent 393cb5b2da
commit 5c3588445e
9 changed files with 189 additions and 11 deletions

View File

@@ -56,7 +56,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 = []
@@ -74,7 +75,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
}