aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/email/isleofwight/archive.html48
-rw-r--r--templates/email/isleofwight/archive.txt26
-rw-r--r--templates/web/fixmystreet.com/reports/summary.html2
3 files changed, 75 insertions, 1 deletions
diff --git a/templates/email/isleofwight/archive.html b/templates/email/isleofwight/archive.html
new file mode 100644
index 000000000..9b0bda0db
--- /dev/null
+++ b/templates/email/isleofwight/archive.html
@@ -0,0 +1,48 @@
+[%
+
+email_summary = "Your reports on FixMyStreet";
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% only_column_style %]">
+ <h1 style="[% h1_style %]">Your reports on FixMyStreet</h1>
+ <p style="[% p_style %]">
+ Hello [% user.name %],
+ </p>
+ <p style="[% p_style %]">
+ FixMyStreet is being updated for the Isle of Wight to improve how problems get reported.
+ </p>
+ <p style="[% p_style %]">
+As part of this process we are closing all enquiries made before the update. 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 enquiry is no longer an issue, you don't need to do anything. If you believe
+that the issue has not been resolved, please log it again on
+<a href="https://fms.islandroads.com/">https://fms.islandroads.com/</a> or contact the Island Roads Help Desk via <a href="mailto:info@islandroads.com">info@islandroads.com</a> or 01983 822440.
+ </p>
+
+ [% FOR report IN reports %]
+ <div style="[% list_item_style %]">
+ [% IF report.photo %]
+ <a href="https://www.fixmystreet.com/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 %]"><a href="[% cobrand.base_url_for_report( report ) %]/report/[% report.id %]">
+ [%~ report.title | html ~%]
+ </a></h2>
+ <p style="[% list_item_p_style %]">[% report.detail | html %]</p>
+ <p style="[% list_item_date_style %]">
+ Reported [% report.time_ago %] ago.
+ </p>
+ </div>
+ [% END %]
+
+</th>
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/isleofwight/archive.txt b/templates/email/isleofwight/archive.txt
new file mode 100644
index 000000000..1a2cd40d5
--- /dev/null
+++ b/templates/email/isleofwight/archive.txt
@@ -0,0 +1,26 @@
+Subject: Your reports on FixMyStreet
+
+Hello [% user.name %],
+
+FixMyStreet is being updated for the Isle of Wight to improve how problems get reported.
+
+As part of this process we are closing all enquiries made before the update. We noticed
+that you have [% report_count %] old [% nget('report', 'reports', report_count) %] on the system, which we've listed below.
+
+If your enquiry is no longer an issue, you don't need to do anything. If you believe
+that the issue has not been resolved, please log it again on
+https://fms.islandroads.com/ or contact the Island Roads Help Desk via info@islandroads.com or 01983 822440.
+
+[% FOR report IN reports %]
+
+[% report.title %]
+
+Reported [% report.time_ago %] ago.
+
+View report: https://www.fixmystreet.com/report/[% report.id %]
+
+----
+
+[% END %]
+
+The FixMyStreet team and Island Roads
diff --git a/templates/web/fixmystreet.com/reports/summary.html b/templates/web/fixmystreet.com/reports/summary.html
index de340e5fd..70f7c10d1 100644
--- a/templates/web/fixmystreet.com/reports/summary.html
+++ b/templates/web/fixmystreet.com/reports/summary.html
@@ -70,7 +70,7 @@
<select class="form-control" id="area" name="area">
<option value="">[% body.name %]</option>
[% FOR w IN children.values.sort('name') %]
- <option value="[% w.id %]"[% ' selected' IF w.id == ward %]>[% w.name %]</option>
+ <option value="[% w.id %]"[% ' selected' IF w.id == ward.0 %]>[% w.name %]</option>
[% END %]
</select>
</p>