aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/SendReport/Email.pm5
-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.