aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email/oxfordshire/archive.html
blob: ed48456a287370344d05017453e2ab2881d40e99 (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
55
56
57
58
[%

email_summary = "Your reports on " _ site_name;

PROCESS '_email_settings.html';

INCLUDE '_email_top.html';

%]

<th style="[% td_style %][% only_column_style %]">
  <h1 style="[% h1_style %]">Your [% site_name %] reports on FixMyStreet</h1>
  <p style="[% p_style %]">
    Hello [% user.name %],
  </p>
  <p style="[% p_style %]">
    FixMyStreet is being updated in Oxfordshire to
    improve how problems get fixed.
  </p>
  <p style="[% p_style %]">
    As part of these updates, we are closing old reports that appear to be
    resolved but remain open in the system.
  </p>
  <p style="[% p_style %]">
    We noticed that you have [% report_count %] old [% nget('report', 'reports', report_count) %] on the system,
    which we've listed below.
  </p>
  <p style="[% p_style %]">
    If your report is no longer an issue, you don't need to do anything.
  </p>
  <p style="[% p_style %]">
    If you believe that your report is still a problem, you can reopen it by
    clicking the 'reopen' button by a report.
  </p>

  [% FOR report IN reports %]
  <div style="[% list_item_style %]">
  [% IF report.photo %]
    <a href="[% cobrand.base_url_for_report( report ) %]/report/[% report.id %]">
      <img style="[% list_item_photo_style %]" src="[% inline_image(report.get_first_image_fp) %]" alt="">
    </a>
  [% END %]
    <h2 style="[% list_item_h2_style %]">
      [%~ report.title | html ~%]
    </h2>
    <p style="[% list_item_p_style %]">[% report.detail | html %]</p>
    <p style="[% list_item_date_style %]">
      Reported [% report.time_ago %] ago.
    </p>
    <p>
      <a style="[% button_style %]" href="[% cobrand.base_url_for_report( report ) %][% report.tokenised_url( user, { reopen => 'true' } ) %]#update_form">Reopen report</a>
    </p>
  </div>
  [% END %]

</th>

[% INCLUDE '_email_bottom.html' %]