diff options
author | Struan Donald <struan@exo.org.uk> | 2019-03-15 10:39:54 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2019-04-02 15:01:20 +0100 |
commit | bea983f2b452583373426ed77672144ce5956a46 (patch) | |
tree | 11e808295cdfdb524059f4de1970b2970c8407b0 /templates | |
parent | a978974b5770ebc173d302034cbe179a45cb40d5 (diff) |
allow customisation of email header image file
Add a setting for the name of the image file used in the email header so
cobrands can override it
Diffstat (limited to 'templates')
-rw-r--r-- | templates/email/default/_email_settings.html | 1 | ||||
-rw-r--r-- | templates/email/default/_email_top.html | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/templates/email/default/_email_settings.html b/templates/email/default/_email_settings.html index f6db8334c..7ca78f6e3 100644 --- a/templates/email/default/_email_settings.html +++ b/templates/email/default/_email_settings.html @@ -25,6 +25,7 @@ header_background_color = color_yellow header_text_color = color_black header_padding = "15px 20px" # a full CSS padding property (eg: top/right/bottom/left) +logo_file = "email-logo.gif" logo_width = "192" # pixel measurement, but without 'px' suffix logo_height = "35" # pixel measurement, but without 'px' suffix logo_font_size = "24px" diff --git a/templates/email/default/_email_top.html b/templates/email/default/_email_top.html index 127ecb9db..0191bacfc 100644 --- a/templates/email/default/_email_top.html +++ b/templates/email/default/_email_top.html @@ -3,8 +3,6 @@ # Alert sets cobrand directly, questionnaire/submit have it in report, otherwise web cobrand = cobrand.moniker OR report.cobrand OR c.cobrand.moniker; - DEFAULT logo_file = 'email-logo.gif'; - IF cobrand == 'fixmystreet'; SET img_dir = 'fixmystreet.com'; ELSE; |