diff options
-rw-r--r-- | t/app/controller/alert_new.t | 2 | ||||
-rw-r--r-- | templates/email/default/alert-problem-area.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/t/app/controller/alert_new.t b/t/app/controller/alert_new.t index 10c4c8ab9..708a152bc 100644 --- a/t/app/controller/alert_new.t +++ b/t/app/controller/alert_new.t @@ -451,7 +451,7 @@ subtest "Test normal alert signups and that alerts are sent" => sub { my $count; for (@emails) { $count++ if $_->body =~ /The following updates have been left on this report:/; - $count++ if $_->body =~ /The following new FixMyStreet reports have been added in City of\s+Edinburgh\s+Council:/; + $count++ if $_->body =~ /The following new FixMyStreet reports have been added in the City of\s+Edinburgh\s+Council area:/; $count++ if $_->body =~ /The following FixMyStreet reports have been made within the area you\s+specified:/; $count++ if $_->body =~ /\s+-\s+Testing/; } diff --git a/templates/email/default/alert-problem-area.txt b/templates/email/default/alert-problem-area.txt index 2bcf3fbfc..20550ec8e 100644 --- a/templates/email/default/alert-problem-area.txt +++ b/templates/email/default/alert-problem-area.txt @@ -1,7 +1,7 @@ Subject: New <?=$values['site_name']?> reports in <?=$values['area_name']?> The following new <?=$values['site_name']?> reports have been added in -<?=$values['area_name']?>: +the <?=$values['area_name']?> area: <?=$values['data']?> @@ -14,7 +14,7 @@ You asked us to send you an email when someone makes a new <?=$values['site_name report in <?=$values['area_name']?>. This is a free service from <?=$values['site_name']?>. If you no longer wish to receive an email whenever there are new reports in -<?=$values['area_name']?>, please follow this link: +the <?=$values['area_name']?> area, please follow this link: <?=$values['unsubscribe_url']?> |