aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2014-03-31 10:12:34 +0100
committerStruan Donald <struan@exo.org.uk>2014-03-31 10:12:34 +0100
commit61dc43ba873388853c546fac18777b6b8fb87cd3 (patch)
tree42bd74941447e82a9208fb740005b86e29867700
parent891e2fc87f0a6691538cd90865c2f92788c9b978 (diff)
remove survey links
-rw-r--r--perllib/CrossSell.pm14
-rw-r--r--templates/email/fixmystreet/alert-problem-area.txt9
-rw-r--r--templates/email/fixmystreet/alert-problem-council.txt9
-rw-r--r--templates/email/fixmystreet/alert-problem-nearby.txt9
-rw-r--r--templates/email/fixmystreet/alert-problem-ward.txt9
-rw-r--r--templates/email/fixmystreet/alert-problem.txt9
-rw-r--r--templates/email/fixmystreet/alert-update.txt9
7 files changed, 12 insertions, 56 deletions
diff --git a/perllib/CrossSell.pm b/perllib/CrossSell.pm
index 231bb9361..ca4eebdb3 100644
--- a/perllib/CrossSell.pm
+++ b/perllib/CrossSell.pm
@@ -151,6 +151,16 @@ We're running a survey to help us understand who uses our sites. If you have 10-
EOF
}
+sub display_wtt_link {
+ return <<EOF;
+<h1 style="padding-top:0.5em">WriteToThem</h1>
+<p>
+Need to write to a politician? Try <a href="https://writetothem.com">WriteToThem</a> - great
+for campaigns too.
+</p>
+EOF
+}
+
# Not currently used, needs more explanation and testing; perhaps in future.
sub display_gny_groups {
my ($lon, $lat) = @_;
@@ -210,9 +220,9 @@ sub display_advert ($$;$%) {
#EOF
#unless (defined $data{done_tms} && $data{done_tms}==1) {
- $c->stash->{scratch} = 'advert=survey';
+ $c->stash->{scratch} = 'advert=wtt';
return '<div style="margin: 0 5em; border-top: dotted 1px #666666;">'
- . display_survey_link()
+ . display_wtt_link()
. '</div>';
$c->stash->{scratch} = 'advert=news';
diff --git a/templates/email/fixmystreet/alert-problem-area.txt b/templates/email/fixmystreet/alert-problem-area.txt
index 4f1176685..736e45143 100644
--- a/templates/email/fixmystreet/alert-problem-area.txt
+++ b/templates/email/fixmystreet/alert-problem-area.txt
@@ -7,15 +7,6 @@ The following new problems have been added within
-------
-We're running a survey to help us understand who uses our sites.
-If you have 10-15 minutes to spare then we'd be grateful if you
-could take part:
- http://questions.mysociety.org/S/fms/e/
-
-Thank you!
-
--------
-
<?=$values['signature']?>
To stop receiving emails when there are new problems in
diff --git a/templates/email/fixmystreet/alert-problem-council.txt b/templates/email/fixmystreet/alert-problem-council.txt
index 7c17ae163..65b11aceb 100644
--- a/templates/email/fixmystreet/alert-problem-council.txt
+++ b/templates/email/fixmystreet/alert-problem-council.txt
@@ -6,15 +6,6 @@ The following new problems have been reported to <?=$values['area_name']?>:
-------
-We're running a survey to help us understand who uses our sites.
-If you have 10-15 minutes to spare then we'd be grateful if you
-could take part:
- http://questions.mysociety.org/S/fms/e/
-
-Thank you!
-
--------
-
<?=$values['signature']?>
To stop receiving emails when there are new problems reported to
diff --git a/templates/email/fixmystreet/alert-problem-nearby.txt b/templates/email/fixmystreet/alert-problem-nearby.txt
index 44fbae742..17d792a12 100644
--- a/templates/email/fixmystreet/alert-problem-nearby.txt
+++ b/templates/email/fixmystreet/alert-problem-nearby.txt
@@ -6,15 +6,6 @@ The following nearby problems have been added:
-------
-We're running a survey to help us understand who uses our sites.
-If you have 10-15 minutes to spare then we'd be grateful if you
-could take part:
- http://questions.mysociety.org/S/fms/e/
-
-Thank you!
-
--------
-
<?=$values['signature']?>
To stop receiving emails when there are nearby problems,
diff --git a/templates/email/fixmystreet/alert-problem-ward.txt b/templates/email/fixmystreet/alert-problem-ward.txt
index 308f52ddd..dc7a02b9b 100644
--- a/templates/email/fixmystreet/alert-problem-ward.txt
+++ b/templates/email/fixmystreet/alert-problem-ward.txt
@@ -7,15 +7,6 @@ within <?=$values['ward_name']?>:
-------
-We're running a survey to help us understand who uses our sites.
-If you have 10-15 minutes to spare then we'd be grateful if you
-could take part:
- http://questions.mysociety.org/S/fms/e/
-
-Thank you!
-
--------
-
<?=$values['signature']?>
To stop receiving emails when there are new problems reported to
diff --git a/templates/email/fixmystreet/alert-problem.txt b/templates/email/fixmystreet/alert-problem.txt
index 3902f723b..12af205f1 100644
--- a/templates/email/fixmystreet/alert-problem.txt
+++ b/templates/email/fixmystreet/alert-problem.txt
@@ -6,15 +6,6 @@ The following new problems have been added:
-------
-We're running a survey to help us understand who uses our sites.
-If you have 10-15 minutes to spare then we'd be grateful if you
-could take part:
- http://questions.mysociety.org/S/fms/e/
-
-Thank you!
-
--------
-
<?=$values['signature']?>
To stop receiving emails when there are new problems,
diff --git a/templates/email/fixmystreet/alert-update.txt b/templates/email/fixmystreet/alert-update.txt
index c9054fe10..7cbf26c44 100644
--- a/templates/email/fixmystreet/alert-update.txt
+++ b/templates/email/fixmystreet/alert-update.txt
@@ -13,15 +13,6 @@ You cannot contact anyone by replying to this email.
-------
-We're running a survey to help us understand who uses our sites.
-If you have 10-15 minutes to spare then we'd be grateful if you
-could take part:
- http://questions.mysociety.org/S/fms/e/
-
-Thank you!
-
--------
-
<?=$values['signature']?>
To stop receiving emails when there are new updates on this problem,