aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/tokens/confirm_problem.html
blob: 62053b1bc58750002aa61880bfa2aae1b0a0395e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[% INCLUDE 'header.html', bodyclass = 'fullwidthpage', title = loc('Confirmation') %]

<div class="confirmation-header">

  <h1><a href="[% c.cobrand.relative_url_for_report( report ) %][% report.url %]">[% report.title %]</a></h1>

  [% IF c.cobrand.is_council %]
    [% IF c.cobrand.owns_problem( report ) %]
      [% TRY %]
        [% INCLUDE 'tokens/_confirm_problem_council_id.html' %]
      [% CATCH file %]
        <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>
      [% END %]
    [% ELSE %]
        <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.relative_url_for_report( report ) %][% report.url %]">FixMyStreet.com</a>.
        </p>
     [% END %]

  [% ELSE %]
    <h2>[% loc('Thank you for reporting this issue!') %]</h2>
    [% IF report.bodies_str %]
      <p>[% loc('It’s on its way to the council right now.') %]</p>
    [% END %]

  [% END %]

[% TRY %][% INCLUDE 'tokens/_extras_confirm.html' %][% CATCH file %][% END %]

  <p class="confirmation-again">
    <a href="/report/new?latitude=[% report.latitude %]&amp;longitude=[% report.longitude %]" class="btn btn-primary">
      [% loc('Report another problem here') %]
    </a>
  </p>

</div>

[% INCLUDE
  next_steps.html,
  just_interacted = 1,
  utm_content = 'problem confirmed',
  share_url = c.cobrand.base_url_for_report(report) _ report.url,
  twitter_comment = loc('I just reported a problem on @fixmystreet')
%]

[% INCLUDE 'footer.html' %]