aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-04-12 15:10:20 +0100
committerDave Arter <davea@mysociety.org>2016-07-08 15:28:21 +0100
commit235701b34251db9b05a148d25664a2ae545ec5c4 (patch)
treea5305fd254d9fc147d63bff3b33bad9b00f1409f
parent6b02b84a5359066b242ddfb18d6998a0b2957360 (diff)
Restructure & clarify problem confirmation page
The message shown to the user if the report was sent to a council other than the cobrand owner was confusing so the wording has been clarified. Also added a call to action to view the report on FMS.com or the cobranded FMS.
-rw-r--r--perllib/FixMyStreet/App/Controller/Tokens.pm4
-rw-r--r--templates/web/base/tokens/confirm_problem.html16
2 files changed, 14 insertions, 6 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Tokens.pm b/perllib/FixMyStreet/App/Controller/Tokens.pm
index 38f344250..da017c57f 100644
--- a/perllib/FixMyStreet/App/Controller/Tokens.pm
+++ b/perllib/FixMyStreet/App/Controller/Tokens.pm
@@ -32,7 +32,7 @@ sub confirm_problem : Path('/P') {
$c->stash->{report} = {
id => 123,
title => 'Title of Report',
- bodies_str => 'True',
+ bodies_str => '1',
url => '/report/123',
service => $c->get_param('service'),
};
@@ -195,7 +195,7 @@ sub confirm_update : Path('/C') {
$c->stash->{problem} = {
id => 123,
title => 'Title of Report',
- bodies_str => 'True',
+ bodies_str => '1',
url => '/report/123',
};
return;
diff --git a/templates/web/base/tokens/confirm_problem.html b/templates/web/base/tokens/confirm_problem.html
index ce7f751e5..a4573b5e6 100644
--- a/templates/web/base/tokens/confirm_problem.html
+++ b/templates/web/base/tokens/confirm_problem.html
@@ -7,11 +7,19 @@
[% IF c.cobrand.is_council %]
[% IF c.cobrand.owns_problem( report ) %]
<h2>Your issue is on its way to the council.</h2>
+ <p>Your reference for this report is [% report.id %], please quote it in any enquiries.</p>
[% ELSE %]
- <h2>Your issue is on its way to [% report.body %].</h2>
- <p>Note that [% c.cobrand.council_name %] is not responsible for this type of problem.</p>
- [% END %]
- <p>Your reference for this report is [% report.id %], please quote it in any enquiries.</p>
+ <h2>Thank you for your report.</h2>
+ <p>
+ We don&rsquo;t handle this type of problem, so have passed it on to:
+ </p>
+ <p>
+ <b>[% report.body %]</b>
+ </p>
+ <p>
+ You can follow this problem on <a href="[% c.cobrand.base_url_for_report( report ) %][% report.url %]">FixMyStreet.com</a>.
+ </p>
+ [% END %]
[% ELSE %]
<h2>[% loc('Thank you for reporting this issue!') %]</h2>