aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email
diff options
context:
space:
mode:
authorA user for the site fixmystreet <fms@fixamingata.se>2012-11-16 13:27:59 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2014-03-11 16:36:20 +0000
commit7dfaaa03efb25ec234ac7d8556efcc91c8ac6608 (patch)
tree9acb05245516c3277d182ece103f7e5bbc15d41d /templates/email
parentd9006703c6e22aef66d9b7d15fa4a0ba9caa2881 (diff)
New cobranded email directory, initially copied from "default".
Diffstat (limited to 'templates/email')
-rw-r--r--templates/email/fixamingata/alert-confirm.txt13
-rw-r--r--templates/email/fixamingata/alert-problem-area.txt12
-rw-r--r--templates/email/fixamingata/alert-problem-council.txt11
-rw-r--r--templates/email/fixamingata/alert-problem-nearby.txt10
-rw-r--r--templates/email/fixamingata/alert-problem-ward.txt12
-rw-r--r--templates/email/fixamingata/alert-problem.txt10
-rw-r--r--templates/email/fixamingata/alert-update.txt17
-rw-r--r--templates/email/fixamingata/contact.txt5
-rw-r--r--templates/email/fixamingata/login.txt9
-rw-r--r--templates/email/fixamingata/partial.txt13
-rw-r--r--templates/email/fixamingata/problem-confirm.txt19
-rw-r--r--templates/email/fixamingata/questionnaire.txt23
-rw-r--r--templates/email/fixamingata/reply-autoresponse23
-rw-r--r--templates/email/fixamingata/signature.txt2
-rw-r--r--templates/email/fixamingata/site-name.txt1
-rw-r--r--templates/email/fixamingata/submit-brent.txt43
-rw-r--r--templates/email/fixamingata/submit-example.txt61
-rw-r--r--templates/email/fixamingata/submit.txt43
-rw-r--r--templates/email/fixamingata/test.txt15
-rw-r--r--templates/email/fixamingata/update-confirm.txt17
20 files changed, 359 insertions, 0 deletions
diff --git a/templates/email/fixamingata/alert-confirm.txt b/templates/email/fixamingata/alert-confirm.txt
new file mode 100644
index 000000000..0d23d7733
--- /dev/null
+++ b/templates/email/fixamingata/alert-confirm.txt
@@ -0,0 +1,13 @@
+Subject: Confirm your alert on [% INCLUDE 'site-name.txt' | trim %]
+
+Hi,
+
+Please click on the link below to confirm the alert you just
+asked to subscribe to on [% INCLUDE 'site-name.txt' | trim %]:
+
+ [% token_url %]
+
+If you can't click the link, please copy and paste it to the
+address bar of your web browser.
+
+[% INCLUDE 'signature.txt' %]
diff --git a/templates/email/fixamingata/alert-problem-area.txt b/templates/email/fixamingata/alert-problem-area.txt
new file mode 100644
index 000000000..3696c87d4
--- /dev/null
+++ b/templates/email/fixamingata/alert-problem-area.txt
@@ -0,0 +1,12 @@
+Subject: New problems in <?=$values['area_name']?> on FixMyStreet
+
+The following new problems have been added within
+<?=$values['area_name']?>:
+
+<?=$values['data']?>
+
+<?=$values['signature']?>
+
+To stop receiving emails when there are new problems in
+<?=$values['area_name']?>, please follow this link:
+<?=$values['unsubscribe_url']?>
diff --git a/templates/email/fixamingata/alert-problem-council.txt b/templates/email/fixamingata/alert-problem-council.txt
new file mode 100644
index 000000000..5544a2043
--- /dev/null
+++ b/templates/email/fixamingata/alert-problem-council.txt
@@ -0,0 +1,11 @@
+Subject: New problems reported to <?=$values['area_name']?> on FixMyStreet
+
+The following new problems have been reported to <?=$values['area_name']?>:
+
+<?=$values['data']?>
+
+<?=$values['signature']?>
+
+To stop receiving emails when there are new problems reported to
+<?=$values['area_name']?>, please follow this link:
+<?=$values['unsubscribe_url']?>
diff --git a/templates/email/fixamingata/alert-problem-nearby.txt b/templates/email/fixamingata/alert-problem-nearby.txt
new file mode 100644
index 000000000..0c88dab5a
--- /dev/null
+++ b/templates/email/fixamingata/alert-problem-nearby.txt
@@ -0,0 +1,10 @@
+Subject: New nearby problems on FixMyStreet
+
+The following nearby problems have been added:
+
+<?=$values['data']?>
+
+<?=$values['signature']?>
+
+To stop receiving emails when there are nearby problems,
+please follow this link: <?=$values['unsubscribe_url']?>
diff --git a/templates/email/fixamingata/alert-problem-ward.txt b/templates/email/fixamingata/alert-problem-ward.txt
new file mode 100644
index 000000000..9793bcdac
--- /dev/null
+++ b/templates/email/fixamingata/alert-problem-ward.txt
@@ -0,0 +1,12 @@
+Subject: New problems reported to <?=$values['area_name']?> within <?=$values['ward_name']?> on FixMyStreet
+
+The following new problems have been reported to <?=$values['area_name']?>
+within <?=$values['ward_name']?>:
+
+<?=$values['data']?>
+
+<?=$values['signature']?>
+
+To stop receiving emails when there are new problems reported to
+<?=$values['area_name']?> within <?=$values['ward_name']?>,
+please follow this link: <?=$values['unsubscribe_url']?>
diff --git a/templates/email/fixamingata/alert-problem.txt b/templates/email/fixamingata/alert-problem.txt
new file mode 100644
index 000000000..01e184e0a
--- /dev/null
+++ b/templates/email/fixamingata/alert-problem.txt
@@ -0,0 +1,10 @@
+Subject: New problems on FixMyStreet
+
+The following new problems have been added:
+
+<?=$values['data']?>
+
+<?=$values['signature']?>
+
+To stop receiving emails when there are new problems,
+please follow this link: <?=$values['unsubscribe_url']?>
diff --git a/templates/email/fixamingata/alert-update.txt b/templates/email/fixamingata/alert-update.txt
new file mode 100644
index 000000000..1140de1fa
--- /dev/null
+++ b/templates/email/fixamingata/alert-update.txt
@@ -0,0 +1,17 @@
+Subject: New updates on problem - '<?=$values['title']?>'
+
+The following updates have been left on this problem:
+
+<?=$values['data']?>
+
+<?=$values['state_message']?>
+
+To view or reply to these updates, please visit the following URL:
+ <?=$values['problem_url']?>
+
+You cannot contact anyone by replying to this email.
+
+<?=$values['signature']?>
+
+To stop receiving emails when there are new updates on this problem,
+please follow this link: <?=$values['unsubscribe_url']?>
diff --git a/templates/email/fixamingata/contact.txt b/templates/email/fixamingata/contact.txt
new file mode 100644
index 000000000..59a778ad5
--- /dev/null
+++ b/templates/email/fixamingata/contact.txt
@@ -0,0 +1,5 @@
+Subject: FMS message: [% subject %]
+
+[% message %]
+
+[ Sent by contact.cgi on [% host %]. IP address [% ip %] ]
diff --git a/templates/email/fixamingata/login.txt b/templates/email/fixamingata/login.txt
new file mode 100644
index 000000000..608d99ee9
--- /dev/null
+++ b/templates/email/fixamingata/login.txt
@@ -0,0 +1,9 @@
+Subject: [% loc('Your FixMyStreet.com account details') %]
+
+Please click on the link below to confirm your email address. Then you will be
+able to view your problem reports and manage them more easily.
+
+[% c.uri_for_action( 'auth/token', token ) %]
+
+[% INCLUDE 'signature.txt' %]
+
diff --git a/templates/email/fixamingata/partial.txt b/templates/email/fixamingata/partial.txt
new file mode 100644
index 000000000..82bc0cf0e
--- /dev/null
+++ b/templates/email/fixamingata/partial.txt
@@ -0,0 +1,13 @@
+Subject: Confirm your report on FixMyStreet
+
+Hi [% report.name || report.email %],
+
+To confirm the report you have uploaded to FixMyStreet via
+[% report.service %], and to check or add any details,
+please visit the following URL:
+
+[% token_url %]
+
+Thanks!
+
+[% INCLUDE 'signature.txt' %]
diff --git a/templates/email/fixamingata/problem-confirm.txt b/templates/email/fixamingata/problem-confirm.txt
new file mode 100644
index 000000000..3a6bbe03a
--- /dev/null
+++ b/templates/email/fixamingata/problem-confirm.txt
@@ -0,0 +1,19 @@
+Subject: Confirm your problem on [% INCLUDE 'site-name.txt' | trim %]
+
+Hi [% report.name %],
+
+Please click on the link below to confirm the problem you just
+added to [% INCLUDE 'site-name.txt' | trim %]:
+
+[% token_url %]
+
+If your email program does not let you click on this link,
+copy and paste it into your web browser and press return.
+
+Your problem had the title:
+[% report.title %]
+
+And details:
+[% report.detail %]
+
+[% INCLUDE 'signature.txt' %]
diff --git a/templates/email/fixamingata/questionnaire.txt b/templates/email/fixamingata/questionnaire.txt
new file mode 100644
index 000000000..88d4cc1b5
--- /dev/null
+++ b/templates/email/fixamingata/questionnaire.txt
@@ -0,0 +1,23 @@
+Subject: FixMyStreet questionnaire about '<?=$values['title']?>'
+
+Hi <?=$values['name']?>,
+
+<?=$values['created']?> ago, you left a problem on FixMyStreet
+with the details provided at the end of this email. To keep our
+site up to date and relevant, we'd appreciate it if you could
+follow the link below and fill in our short questionnaire
+updating the status of your problem:
+
+ <?=$values['url']?>
+
+Please do not reply to this email; there is a public comment
+box on the questionnaire.
+
+<?=$values['signature']?>
+
+Your problem was as follows:
+
+<?=$values['title']?>
+
+<?=$values['detail']?>
+
diff --git a/templates/email/fixamingata/reply-autoresponse b/templates/email/fixamingata/reply-autoresponse
new file mode 100644
index 000000000..f984c66b0
--- /dev/null
+++ b/templates/email/fixamingata/reply-autoresponse
@@ -0,0 +1,23 @@
+Subject: Automatic reply to your message to FixMyStreet
+
+Hi,
+
+This is an automatic response to your email; your email has not been delivered.
+
+If you're replying to an email about a report update, please visit
+the URL given in the email in order to leave a reply. You cannot
+reply to an update via email.
+
+If you are trying to confirm something, such as a report or an email
+alert, please click the link in the email that we sent you, or, if
+you cannot click the link, copy and paste it into the address bar of
+your web browser.
+
+If you're trying to unsubscribe from an email alert, there is an
+unsubscribe link at the bottom of the email.
+
+If you have a question or comment about the site, please send your
+email to team@fixmystreet.com
+
+Yours,
+The FixMyStreet team
diff --git a/templates/email/fixamingata/signature.txt b/templates/email/fixamingata/signature.txt
new file mode 100644
index 000000000..69ee38767
--- /dev/null
+++ b/templates/email/fixamingata/signature.txt
@@ -0,0 +1,2 @@
+Yours,
+The FixMyStreet team
diff --git a/templates/email/fixamingata/site-name.txt b/templates/email/fixamingata/site-name.txt
new file mode 100644
index 000000000..4e9a24bb9
--- /dev/null
+++ b/templates/email/fixamingata/site-name.txt
@@ -0,0 +1 @@
+FixMyStreet
diff --git a/templates/email/fixamingata/submit-brent.txt b/templates/email/fixamingata/submit-brent.txt
new file mode 100644
index 000000000..c94e6e1e4
--- /dev/null
+++ b/templates/email/fixamingata/submit-brent.txt
@@ -0,0 +1,43 @@
+Subject: FMS Problem Report: <?=$values['title']?>
+
+Dear <?=$values['councils_name']?>,
+
+<?=$values['missing']?><?=$values['multiple']?>A user of
+FixMyStreet has submitted the following report
+of a local problem that they believe might require your attention.
+
+<?=$values['fuzzy']?>, or to provide an update on the problem,
+please visit the following link:
+
+ <?=$values['url']?>
+
+<?=$values['has_photo']?>----------
+
+Name: <?=$values['name']?>
+
+Email: <?=$values['email']?>
+
+<?=$values['phone_line']?><?=$values['category_line']?>Subject: <?=$values['title']?>
+
+Details: <?=$values['detail']?>
+
+<?=$values['easting_northing']?>Latitude: <?=$values['latitude']?>
+
+Longitude: <?=$values['longitude']?>
+
+<?=$values['closest_address']?>----------
+
+Replies to this email will go to the user who submitted the problem.
+
+<?=$values['signature']?>
+
+This message was sent via FixMyStreet, a project of UKCOD, registered charity
+number 1076346. If there is a more appropriate email address for messages about
+<?=$values['category_footer']?>, please let us know by visiting <http://www.fixmystreet.com/contact>.
+This will help improve the service for local people. We
+also welcome any other feedback you may have.
+
+FixMyStreet is now available for full integration into council
+websites, making life easier for both you and your residents.
+Read more here: http://www.mysociety.org/for-councils/fixmystreet/
+
diff --git a/templates/email/fixamingata/submit-example.txt b/templates/email/fixamingata/submit-example.txt
new file mode 100644
index 000000000..4956a7a93
--- /dev/null
+++ b/templates/email/fixamingata/submit-example.txt
@@ -0,0 +1,61 @@
+Subject: Problem Report: Dangerous pothole
+
+Dear Birmingham City Council,
+
+A user of FixMyStreet has submitted the following report of a
+local problem that they believe might require your attention.
+
+To view a map of the precise location of this issue, or to provide
+an update on the problem, please visit the following link:
+
+ http://www.fixmystreet.com/report/39092
+
+----------
+
+Name: Matthew Somerville
+
+Email: [...]
+
+Phone: [...]
+
+Category: Potholes
+
+Subject: Dangerous pothole
+
+Details: There is a large pothole almost on the give way line as
+you approach the junction along Bournville Lane from the east,
+which leads to vehicles rolling back as they fall in and out of it
+whilst waiting at the junction.
+
+Easting: 404517
+
+Northing: 280922
+
+Latitude: 52.4262642791826
+
+Longitude: -1.93500217285966
+
+Nearest road to the pin placed on the map (automatically
+generated by Bing Maps): Bournville Lane, Birmingham B30 1
+
+Nearest postcode to the pin placed on the map (automatically
+generated): B30 1LA (83m away)
+
+----------
+
+Replies to this email will go to the user who submitted the problem.
+
+Yours,
+The FixMyStreet team
+
+This message was sent via FixMyStreet, a project of UKCOD,
+registered charity number 1076346. If there is a more appropriate
+email address for messages about 'Potholes', please let us know by
+visiting <http://www.fixmystreet.com/contact>. This will help
+improve the service for local people. We also welcome any other
+feedback you may have.
+
+FixMyStreet is now available for full integration into council
+websites, making life easier for both you and your residents.
+Read more here: http://www.mysociety.org/for-councils/fixmystreet/
+
diff --git a/templates/email/fixamingata/submit.txt b/templates/email/fixamingata/submit.txt
new file mode 100644
index 000000000..a956b4add
--- /dev/null
+++ b/templates/email/fixamingata/submit.txt
@@ -0,0 +1,43 @@
+Subject: Problem Report: <?=$values['title']?>
+
+Dear <?=$values['councils_name']?>,
+
+<?=$values['missing']?><?=$values['multiple']?>A user of
+FixMyStreet has submitted the following report
+of a local problem that they believe might require your attention.
+
+<?=$values['fuzzy']?>, or to provide an update on the problem,
+please visit the following link:
+
+ <?=$values['url']?>
+
+<?=$values['has_photo']?>----------
+
+Name: <?=$values['name']?>
+
+Email: <?=$values['email']?>
+
+<?=$values['phone_line']?><?=$values['category_line']?>Subject: <?=$values['title']?>
+
+Details: <?=$values['detail']?>
+
+<?=$values['easting_northing']?>Latitude: <?=$values['latitude']?>
+
+Longitude: <?=$values['longitude']?>
+
+<?=$values['closest_address']?>----------
+
+Replies to this email will go to the user who submitted the problem.
+
+<?=$values['signature']?>
+
+This message was sent via FixMyStreet, a project of UKCOD, registered charity
+number 1076346. If there is a more appropriate email address for messages about
+<?=$values['category_footer']?>, please let us know by visiting <http://www.fixmystreet.com/contact>.
+This will help improve the service for local people. We
+also welcome any other feedback you may have.
+
+FixMyStreet is now available for full integration into council
+websites, making life easier for both you and your residents.
+Read more here: http://www.mysociety.org/for-councils/fixmystreet/
+
diff --git a/templates/email/fixamingata/test.txt b/templates/email/fixamingata/test.txt
new file mode 100644
index 000000000..bfa2c1dd3
--- /dev/null
+++ b/templates/email/fixamingata/test.txt
@@ -0,0 +1,15 @@
+Subject: test email ☺
+From: bad-sender@duff.com
+
+Hello,
+
+This is a test email where foo: [% foo %].
+
+utf8: 我们应该能够无缝处理UTF8编码
+
+ indented_text
+
+long line: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
+Yours,
+FixMyStreet.
diff --git a/templates/email/fixamingata/update-confirm.txt b/templates/email/fixamingata/update-confirm.txt
new file mode 100644
index 000000000..beefac9c1
--- /dev/null
+++ b/templates/email/fixamingata/update-confirm.txt
@@ -0,0 +1,17 @@
+Subject: Confirm your update on [% INCLUDE 'site-name.txt' | trim %]
+
+Hi [% update.name %],
+
+Please click on the link below to confirm the update you just
+wrote:
+
+[% token_url %]
+
+If your email program does not let you click on this link,
+copy and paste it into your web browser and press return.
+
+Your update reads:
+
+[% update.text %]
+
+[% INCLUDE 'signature.txt' %]