Add page to create new letter branding

This has a form with 3 fields - the file upload field, logo name, and an
optional logo domain. Logos need to be uploaded in `.svg` format and we
then convert this to `.png` format and upload both file types to S3 as
well as saving the letter branding details in the database.
This commit is contained in:
Katie Smith
2019-01-31 16:56:35 +00:00
parent 446b9ccbb2
commit 529d7df5f5
8 changed files with 545 additions and 4 deletions

View File

@@ -75,6 +75,7 @@ class HeaderNavigation(Navigation):
'platform-admin': {
'add_organisation',
'create_email_branding',
'create_letter_branding',
'email_branding',
'find_users_by_email',
'live_services',
@@ -405,6 +406,7 @@ class MainNavigation(Navigation):
'conversation_updates',
'cookies',
'create_email_branding',
'create_letter_branding',
'data_retention',
'delete_template_folder',
'delivery_and_failure',
@@ -583,6 +585,7 @@ class CaseworkNavigation(Navigation):
'copy_template',
'create_api_key',
'create_email_branding',
'create_letter_branding',
'data_retention',
'delete_service_template',
'delete_template_folder',
@@ -817,6 +820,7 @@ class OrgNavigation(Navigation):
'copy_template',
'create_api_key',
'create_email_branding',
'create_letter_branding',
'data_retention',
'delete_service_template',
'delete_template_folder',