mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-17 04:59:37 -04:00
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:
committed by
Chris Hill-Scott
parent
393cb5b2da
commit
5c3588445e
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user