diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2015-01-20 17:50:10 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2015-01-21 10:28:36 +0000 |
commit | 201d5cc38c2a75831d5c8e12e498b6e808aee2dc (patch) | |
tree | 82e4e47c351b1ab3fabc54f87d28d8df7c28f976 | |
parent | c557867423cca25fac170f850e51705a0edd78ff (diff) |
[Oxfordshire] Update email template for cobrand.
And update HTTPS link.
-rw-r--r-- | perllib/FixMyStreet/SendReport/Email.pm | 5 | ||||
-rw-r--r-- | templates/email/fixmystreet/submit-oxfordshire.txt (renamed from templates/email/fixamingata/submit-brent.txt) | 2 | ||||
-rw-r--r-- | templates/email/oxfordshire/submit.txt (renamed from templates/email/fixmystreet/submit-brent.txt) | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/SendReport/Email.pm b/perllib/FixMyStreet/SendReport/Email.pm index 797b41e91..4507091c7 100644 --- a/perllib/FixMyStreet/SendReport/Email.pm +++ b/perllib/FixMyStreet/SendReport/Email.pm @@ -56,7 +56,10 @@ sub get_template { my ( $self, $row ) = @_; my $template = 'submit.txt'; - $template = 'submit-brent.txt' if $row->bodies_str eq 2488 || $row->bodies_str eq 2237; + + if ($row->cobrand eq 'fixmystreet') { + $template = 'submit-oxfordshire.txt' if $row->bodies_str eq 2237; + } $template = FixMyStreet->get_email_template($row->cobrand, $row->lang, $template); return $template; diff --git a/templates/email/fixamingata/submit-brent.txt b/templates/email/fixmystreet/submit-oxfordshire.txt index 37adde4df..23a8504ee 100644 --- a/templates/email/fixamingata/submit-brent.txt +++ b/templates/email/fixmystreet/submit-oxfordshire.txt @@ -33,7 +33,7 @@ Replies to this email will go to the user who submitted the problem. This message was sent via FixMyStreet, a project of UKCOD, registered charity number 1076346. If there is a more appropriate email address for messages about -<?=$values['category_footer']?>, please let us know by visiting <http://www.fixmystreet.com/contact>. +<?=$values['category_footer']?>, please let us know by visiting <https://www.fixmystreet.com/contact>. This will help improve the service for local people. We also welcome any other feedback you may have. diff --git a/templates/email/fixmystreet/submit-brent.txt b/templates/email/oxfordshire/submit.txt index 37adde4df..23a8504ee 100644 --- a/templates/email/fixmystreet/submit-brent.txt +++ b/templates/email/oxfordshire/submit.txt @@ -33,7 +33,7 @@ Replies to this email will go to the user who submitted the problem. This message was sent via FixMyStreet, a project of UKCOD, registered charity number 1076346. If there is a more appropriate email address for messages about -<?=$values['category_footer']?>, please let us know by visiting <http://www.fixmystreet.com/contact>. +<?=$values['category_footer']?>, please let us know by visiting <https://www.fixmystreet.com/contact>. This will help improve the service for local people. We also welcome any other feedback you may have. |