Add a page to set organisation and branding option

Platform admin only.

Adds radio buttons to choose one of:
- three hard-coded branding options
- organisations from a list provided by the API
This commit is contained in:
Chris Hill-Scott
2016-08-08 10:28:40 +01:00
committed by Leo Hemsted
parent 20c39d24b7
commit 6b5e64479a
10 changed files with 249 additions and 6 deletions

View File

@@ -49,7 +49,9 @@ def service_json(
email_from=None,
reply_to_email_address=None,
sms_sender=None,
research_mode=False
research_mode=False,
organisation='organisation-name',
branding='govuk'
):
return {
'id': id_,
@@ -61,7 +63,9 @@ def service_json(
'email_from': email_from,
'reply_to_email_address': reply_to_email_address,
'sms_sender': sms_sender,
'research_mode': research_mode
'research_mode': research_mode,
'organisation': organisation,
'branding': branding
}