aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-02-25 12:00:10 +0000
committerMatthew Somerville <matthew@mysociety.org>2015-02-25 12:11:27 +0000
commitb9e69350b32925f1e2e6197c899c354dfa39a9d5 (patch)
treeddc8c67321333241715ed80552a565db8c79c55a
parentba74cf57c4e42bf5f5098d8fd9a20cae29ba5273 (diff)
Tweak wording of area local alert email.
Fixes #1011.
-rw-r--r--t/app/controller/alert_new.t2
-rw-r--r--templates/email/default/alert-problem-area.txt4
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']?>