Add a non-GOV.UK banner option for email branding

Added an extra name, 'org_banner', for branding types into branding_type table
Added org banner into user model in database
Added checks for new branding type to ensure that the correct data is passed into the dict
Tested new checks in html email options
This commit is contained in:
chrisw
2017-09-19 13:18:59 +01:00
parent d0cbb4041b
commit f49eca5324
5 changed files with 38 additions and 6 deletions

View File

@@ -123,6 +123,7 @@ user_to_service = db.Table(
BRANDING_GOVUK = 'govuk'
BRANDING_ORG = 'org'
BRANDING_BOTH = 'both'
BRANDING_ORG_BANNER = 'org_banner'
class BrandingTypes(db.Model):