diff options
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Tokens.pm | 4 | ||||
-rw-r--r-- | templates/web/base/tokens/confirm_problem.html | 16 |
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’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> |