mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 08:31:00 -04:00
Merge pull request #2371 from alphagov/fix-email-preview
Allow coloured branding without logo in preview
This commit is contained in:
@@ -108,7 +108,8 @@ def email_template():
|
||||
colour = email_branding['colour']
|
||||
brand_name = email_branding['text']
|
||||
brand_colour = colour
|
||||
brand_logo = 'https://{}/{}'.format(get_cdn_domain(), email_branding['logo'])
|
||||
brand_logo = ('https://{}/{}'.format(get_cdn_domain(), email_branding['logo'])
|
||||
if email_branding['logo'] else None)
|
||||
govuk_banner = branding_type in ['govuk', 'both']
|
||||
brand_banner = branding_type == 'org_banner'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user