File tree Expand file tree Collapse file tree 4 files changed +14
-20
lines changed Expand file tree Collapse file tree 4 files changed +14
-20
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ sub confirm_message {
198
198
$url =~ s /\s // gs ;
199
199
$wth -> email_check_url($url );
200
200
$wth -> browser_get($url );
201
- $wth -> browser_check_contents(" Your message is on its way. " );
201
+ $wth -> browser_check_contents(" Your message is on its way" );
202
202
my $summary = " a test message to " . name_n($who );
203
203
if ($do_survey ) {
204
204
$wth -> browser_submit_form(
Original file line number Diff line number Diff line change
1
+ < div class ="card card-lg card-text-center ">
2
+ < ?php $values['donate_shown'] = True; ?>
3
+ < h2 >
4
+ Can you help other people who need to send a message?
5
+ </ h2 >
6
+ < p > With your support, we can help more people get their message to the right place.</ p >
7
+ < a href ="https://www.mysociety.org/donate?utm_source=writetothem.com&utm_content=help+others&utm_medium=link&utm_campaign=<?= $values['utm_campaign'] ?> " class ="hero__donate__button mysoc-footer__donate__button "> Donate now</ a >
8
+ </ div >
9
+ < br > < br >
Original file line number Diff line number Diff line change 3
3
$values['title'] = "We’ll send your message now";
4
4
$values['robots'] = 'noindex, nofollow';
5
5
$values['skip_header'] = TRUE;
6
+ $values['utm_campaign'] = 'submitted_page';
6
7
7
8
template_draw('header', $values);
8
9
@@ -40,15 +41,7 @@ <h2 class="subtitle">If you have time could you answer a couple of questions?</h
40
41
< br > < br >
41
42
42
43
< ?php endif; ?>
43
- < div class ="card card-md card-text-center ">
44
- < ?php $values['donate_shown'] = True; ?>
45
- < h2 >
46
- Can you help other people who need to send a message?
47
- </ h2 >
48
- < p > With your support, we can help more people get their message to the right place.</ p >
49
- < a href ="https://www.mysociety.org/donate?utm_source=writetothem.com&utm_content=help+others&utm_medium=link&utm_campaign=submitted_page " class ="hero__donate__button mysoc-footer__donate__button "> Donate now</ a >
50
- </ div >
51
- < br > < br >
44
+ < ?php template_draw('can-you-help', $values) ?>
52
45
</ div >
53
46
</ div >
54
47
Original file line number Diff line number Diff line change 3
3
$values['title'] = "Thanks for your help";
4
4
$values['robots'] = 'noindex, nofollow';
5
5
$values['skip_header'] = TRUE;
6
+ $values['utm_campaign'] = 'survey_thanks';
6
7
7
8
template_draw('header', $values);
8
9
@@ -26,16 +27,7 @@ <h2>Thanks for your help</h2>
26
27
</ div >
27
28
28
29
< br > < br > < br >
29
- < div class ="card card-lg card-text-center ">
30
- < ?php $values['donate_shown'] = True; ?>
31
- < h2 >
32
- Can you help other people who need to send a message?
33
- </ h2 >
34
- < p > With your support, we can help more people get their message to the right place.</ p >
35
- < a href ="https://www.mysociety.org/donate?utm_source=writetothem.com&utm_content=help+others&utm_medium=link&utm_campaign=submitted_page " class ="hero__donate__button mysoc-footer__donate__button "> Donate now</ a >
36
- </ div >
37
- < br > < br >
38
-
30
+ < ?php template_draw('can-you-help', $values) ?>
39
31
</ div >
40
32
</ div >
41
33
You can’t perform that action at this time.
0 commit comments