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 /perllib/FixMyStreet | |
parent | c557867423cca25fac170f850e51705a0edd78ff (diff) |
[Oxfordshire] Update email template for cobrand.
And update HTTPS link.
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r-- | perllib/FixMyStreet/SendReport/Email.pm | 5 |
1 files changed, 4 insertions, 1 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; |