diff options
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | templates/email/default/_email_settings.html | 1 | ||||
-rw-r--r-- | templates/email/default/_email_top.html | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f6afb5a6..0b4c58073 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ - Front end improvements: - Track map state in URL to make sharing links easier. #2242 - Default to unchecked for show name checkbox. #347 + - Email improvements: + - Header image file name can be customised - Admin improvements: - Include moderation history in report updates. #2379 - Allow moderation to potentially change state. #2381 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; |