diff options
-rw-r--r-- | perllib/CrossSell.pm | 14 | ||||
-rw-r--r-- | templates/email/fixmystreet/alert-problem-area.txt | 9 | ||||
-rw-r--r-- | templates/email/fixmystreet/alert-problem-council.txt | 9 | ||||
-rw-r--r-- | templates/email/fixmystreet/alert-problem-nearby.txt | 9 | ||||
-rw-r--r-- | templates/email/fixmystreet/alert-problem-ward.txt | 9 | ||||
-rw-r--r-- | templates/email/fixmystreet/alert-problem.txt | 9 | ||||
-rw-r--r-- | templates/email/fixmystreet/alert-update.txt | 9 |
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, |