diff options
-rw-r--r-- | t/cobrand/cheshireeast.t | 4 | ||||
-rw-r--r-- | templates/web/cheshireeast/report/new/form_after_heading.html | 7 | ||||
-rw-r--r-- | templates/web/cheshireeast/tokens/confirm_problem.html | 8 |
3 files changed, 15 insertions, 4 deletions
diff --git a/t/cobrand/cheshireeast.t b/t/cobrand/cheshireeast.t index 3f912e715..c6c8198ab 100644 --- a/t/cobrand/cheshireeast.t +++ b/t/cobrand/cheshireeast.t @@ -108,7 +108,9 @@ FixMyStreet::override_config { detail => 'detail', }}); my $report = FixMyStreet::DB->resultset('Problem')->search(undef, { order_by => { -desc => 'id' } })->first; - $mech->content_contains('please call us on 0300 123 5020, quoting your reference number ' . $report->id); + my $report_id = $report->id; + $mech->content_contains('0300 123 5020'); + $mech->content_like(qr/quoting your reference number $report_id/); }; subtest 'checking alert pages', sub { diff --git a/templates/web/cheshireeast/report/new/form_after_heading.html b/templates/web/cheshireeast/report/new/form_after_heading.html new file mode 100644 index 000000000..3958b32b3 --- /dev/null +++ b/templates/web/cheshireeast/report/new/form_after_heading.html @@ -0,0 +1,7 @@ +<p> + If the issue is dangerous or an emergency, call us on + <a href="tel:03001235020"><strong>0300 123 5020</strong></a> + between 08:30 and 17:00 Monday to Friday or on + <a href="tel:03001235025"><strong>0300 123 5025</strong></a> + at any other time. +</p> diff --git a/templates/web/cheshireeast/tokens/confirm_problem.html b/templates/web/cheshireeast/tokens/confirm_problem.html index d905ae039..26d8abcef 100644 --- a/templates/web/cheshireeast/tokens/confirm_problem.html +++ b/templates/web/cheshireeast/tokens/confirm_problem.html @@ -20,9 +20,11 @@ </p> [% END %] - <p class="box-warning">If you consider this to be dangerous or an emergency, - please call us on 0300 123 5020, quoting your reference number [% report.id %]. - The out of hours emergency number is 0300 123 5025.</p> + <p class="box-warning">If the issue is dangerous or an emergency, call us on + <a href="tel:03001235020"><strong>0300 123 5020</strong></a> + between 08:30 and 17:00 Monday to Friday, or on + <a href="tel:03001235025"><strong>0300 123 5025</strong></a> + at any other time, quoting your reference number [% report.id %].</p> <p class="confirmation-again"> <a href="/report/new?latitude=[% report.latitude %]&longitude=[% report.longitude %]" class="btn btn-primary"> |