aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email
diff options
context:
space:
mode:
Diffstat (limited to 'templates/email')
-rw-r--r--templates/email/fixamingata/_email_bottom.html17
-rw-r--r--templates/email/fixamingata/_email_color_overrides.html15
-rw-r--r--templates/email/fixamingata/_email_comment_list.html14
-rw-r--r--templates/email/fixamingata/_email_report_list.html19
-rw-r--r--templates/email/fixamingata/alert-confirm.html21
-rw-r--r--templates/email/fixamingata/alert-confirm.txt6
-rw-r--r--templates/email/fixamingata/alert-problem-area.html19
-rw-r--r--templates/email/fixamingata/alert-problem-council.html19
-rw-r--r--templates/email/fixamingata/alert-problem-nearby.html19
-rw-r--r--templates/email/fixamingata/alert-problem-nearby.txt2
-rw-r--r--templates/email/fixamingata/alert-problem-ward.html19
-rw-r--r--templates/email/fixamingata/alert-problem.html19
-rw-r--r--templates/email/fixamingata/alert-update.html25
-rw-r--r--templates/email/fixamingata/change_email.html21
-rw-r--r--templates/email/fixamingata/change_email.txt10
-rw-r--r--templates/email/fixamingata/confirm_report_sent.txt23
-rw-r--r--templates/email/fixamingata/contact.html38
-rw-r--r--templates/email/fixamingata/login.html21
-rw-r--r--templates/email/fixamingata/login.txt3
-rw-r--r--templates/email/fixamingata/other-reported.html30
-rw-r--r--templates/email/fixamingata/other-reported.txt26
-rw-r--r--templates/email/fixamingata/other-updated.html26
-rw-r--r--templates/email/fixamingata/other-updated.txt15
-rw-r--r--templates/email/fixamingata/problem-confirm-not-sending.html30
-rw-r--r--templates/email/fixamingata/problem-confirm-not-sending.txt22
-rw-r--r--templates/email/fixamingata/problem-confirm.html29
-rw-r--r--templates/email/fixamingata/problem-confirm.txt1
-rw-r--r--templates/email/fixamingata/problem-moderated.html32
-rw-r--r--templates/email/fixamingata/problem-moderated.txt33
-rw-r--r--templates/email/fixamingata/questionnaire.html30
-rw-r--r--templates/email/fixamingata/reply-autoresponse2
-rw-r--r--templates/email/fixamingata/submit.html57
-rw-r--r--templates/email/fixamingata/update-confirm-donotsend.txt2
-rw-r--r--templates/email/fixamingata/update-confirm.html29
-rw-r--r--templates/email/fixamingata/update-confirm.txt2
35 files changed, 687 insertions, 9 deletions
diff --git a/templates/email/fixamingata/_email_bottom.html b/templates/email/fixamingata/_email_bottom.html
new file mode 100644
index 000000000..dab4486cd
--- /dev/null
+++ b/templates/email/fixamingata/_email_bottom.html
@@ -0,0 +1,17 @@
+ </tr>
+ <tr>
+ <th colspan="[% email_columns %]" style="[% td_style %][% hint_style %]" class="hint">
+ [%~ IF email_footer %]
+ [% email_footer %]
+ [%~ ELSE %]
+ Det går inte att svara på detta mail
+ [%~ END %]
+ </th>
+ </tr>
+ </table>
+ </th>
+ <th></th>
+ </tr>
+ </table>
+</body>
+</html>
diff --git a/templates/email/fixamingata/_email_color_overrides.html b/templates/email/fixamingata/_email_color_overrides.html
new file mode 100644
index 000000000..5deaf5f88
--- /dev/null
+++ b/templates/email/fixamingata/_email_color_overrides.html
@@ -0,0 +1,15 @@
+[%
+
+color_fixamingata_grey = '#eee'
+color_fixamingata_blue = '#00b1da'
+
+header_background_color = color_fixamingata_grey
+
+secondary_column_background_color = color_fixamingata_grey
+
+button_background_color = color_fixamingata_blue
+
+logo_width = "207" # pixel measurement, but without 'px' suffix
+logo_height = "35" # pixel measurement, but without 'px' suffix
+
+%]
diff --git a/templates/email/fixamingata/_email_comment_list.html b/templates/email/fixamingata/_email_comment_list.html
new file mode 100644
index 000000000..efbb3e8da
--- /dev/null
+++ b/templates/email/fixamingata/_email_comment_list.html
@@ -0,0 +1,14 @@
+[% FOR update IN data %]
+ <div style="[% list_item_style %]">
+ [%~ IF update.item_photo %]
+ <a href="[% problem_url %]">
+ <img style="[% list_item_photo_style %]" src="[% inline_image(update.get_first_image_fp) %]" alt="">
+ </a>
+ [%~ END %]
+ <p style="[% list_item_p_style %]">&ldquo;[% update.item_text | html %]&rdquo;</p>
+ <p style="[% list_item_date_style %]">
+ [%~ update.item_name | html IF update.item_name AND NOT update.item_anonymous -%]
+ [% '(' _ cobrand.prettify_dt(update.confirmed) _ ') ' IF cobrand.include_time_in_update_alerts -%]
+ </p>
+ </div>
+[% END %]
diff --git a/templates/email/fixamingata/_email_report_list.html b/templates/email/fixamingata/_email_report_list.html
new file mode 100644
index 000000000..5f7f67864
--- /dev/null
+++ b/templates/email/fixamingata/_email_report_list.html
@@ -0,0 +1,19 @@
+[% FOR report IN data %]
+<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 %]">
+ <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 %]">
+ [% cobrand.prettify_dt( report.confirmed ) %].
+ [% report.nearest %]
+ </p>
+</div>
+[% END %]
diff --git a/templates/email/fixamingata/alert-confirm.html b/templates/email/fixamingata/alert-confirm.html
new file mode 100644
index 000000000..43b09fc24
--- /dev/null
+++ b/templates/email/fixamingata/alert-confirm.html
@@ -0,0 +1,21 @@
+[%
+
+email_summary = "Bekräfta din bevakning på FixaMinGata";
+email_columns = 1;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% only_column_style %]">
+ <h1 style="[% h1_style %]">Bekräfta din bevakning på&nbsp;FixaMinGata</h1>
+ <p style="[% p_style %]">Vänligen klicka på knappen nedan för att bekräfta din prenumerationsbevakning på FixaMinGata:</p>
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% button_style %]" href="[% token_url %]">Aktivera bevakning</a>
+ </p>
+ <p style="[% p_style %]">Om du inte vill aktivera din bevakning så behöver du inte göra något.</p>
+</th>
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/alert-confirm.txt b/templates/email/fixamingata/alert-confirm.txt
index c2a32b051..8f17765b6 100644
--- a/templates/email/fixamingata/alert-confirm.txt
+++ b/templates/email/fixamingata/alert-confirm.txt
@@ -1,9 +1,9 @@
-Subject: Bekräfta din bevakning på [% INCLUDE 'site-name.txt' | trim %]
+Subject: Bekräfta din bevakning på FixaMinGata
Hej,
-vänligen klicka på länken nedan för att bekräfta den bevakning du
-just valde att prenumerera till på [% INCLUDE 'site-name.txt' | trim %]:
+Vänligen klicka på länken nedan för att bekräfta den bevakning du
+just valde att prenumerera till på FixaMinGata:
[% token_url %]
diff --git a/templates/email/fixamingata/alert-problem-area.html b/templates/email/fixamingata/alert-problem-area.html
new file mode 100644
index 000000000..45e1b7db5
--- /dev/null
+++ b/templates/email/fixamingata/alert-problem-area.html
@@ -0,0 +1,19 @@
+[%
+
+email_summary = "Nya rapporter i " _ area_name _ " på FixaMinGata";
+email_columns = 1;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% only_column_style %]">
+ <h1 style="[% h1_style %]">Nya rapporter inom [% area_name %]</h1>
+ [%~ INCLUDE '_email_report_list.html' %]
+
+ <p style="[% p_style %]"><a href="[% unsubscribe_url %]">Avsluta min prenumeration på nya rapporter i [% area_name %]</a></p>
+</th>
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/alert-problem-council.html b/templates/email/fixamingata/alert-problem-council.html
new file mode 100644
index 000000000..4f4df5820
--- /dev/null
+++ b/templates/email/fixamingata/alert-problem-council.html
@@ -0,0 +1,19 @@
+[%
+
+email_summary = "Nya rapporter i ${ area_name } på FixaMinGata";
+email_columns = 1;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% only_column_style %]">
+ <h1 style="[% h1_style %]">Nya rapporter inom [% area_name %]</h1>
+ [%~ INCLUDE '_email_report_list.html' %]
+
+ <p style="[% p_style %]"><a href="[% unsubscribe_url %]">Avsluta min prenumeration på nya rapporter i [% area_name %]</a></p>
+</th>
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/alert-problem-nearby.html b/templates/email/fixamingata/alert-problem-nearby.html
new file mode 100644
index 000000000..19e086a1a
--- /dev/null
+++ b/templates/email/fixamingata/alert-problem-nearby.html
@@ -0,0 +1,19 @@
+[%
+
+email_summary = "Nya rapporter på FixaMinGata";
+email_columns = 1;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% only_column_style %]">
+ <h1 style="[% h1_style %]">Nya rapporter i din&nbsp;närhet</h1>
+ [%~ INCLUDE '_email_report_list.html' %]
+
+ <p style="[% p_style %]"><a href="[% unsubscribe_url %]">Avsluta min prenumeration på den här typen av rapporter</a></p>
+</th>
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/alert-problem-nearby.txt b/templates/email/fixamingata/alert-problem-nearby.txt
index e278e0b7b..358032ed5 100644
--- a/templates/email/fixamingata/alert-problem-nearby.txt
+++ b/templates/email/fixamingata/alert-problem-nearby.txt
@@ -1,6 +1,6 @@
Subject: Nya rapporter på FixaMinGata
-Följande rapporter har nyligen lagts till på:
+Följande rapporter har nyligen lagts till i din närhet:
[% INCLUDE '_email_report_list.txt' %]
diff --git a/templates/email/fixamingata/alert-problem-ward.html b/templates/email/fixamingata/alert-problem-ward.html
new file mode 100644
index 000000000..b189d56a4
--- /dev/null
+++ b/templates/email/fixamingata/alert-problem-ward.html
@@ -0,0 +1,19 @@
+[%
+
+email_summary = "Nya rapporter i " _ area_name _ " på FixaMinGata"
+email_columns = 1;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% only_column_style %]">
+ <h1 style="[% h1_style %]">Nya rapporter inom [% area_name %]</h1>
+ [%~ INCLUDE '_email_report_list.html' %]
+
+ <p style="[% p_style %]"><a href="[% unsubscribe_url %]">Avsluta min prenumeration på nya rapporter i [% area_name %]</a></p>
+</th>
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/alert-problem.html b/templates/email/fixamingata/alert-problem.html
new file mode 100644
index 000000000..a91e3d545
--- /dev/null
+++ b/templates/email/fixamingata/alert-problem.html
@@ -0,0 +1,19 @@
+[%
+
+email_summary = "Nya rapporter på FixaMinGata";
+email_columns = 1;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% only_column_style %]">
+ <h1 style="[% h1_style %]">Nya rapporter på FixaMinGata</h1>
+ [%~ INCLUDE '_email_report_list.html' %]
+
+ <p style="[% p_style %]"><a href="[% unsubscribe_url %]">Avsluta min prenumeration på nya rapporter</a></p>
+</th>
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/alert-update.html b/templates/email/fixamingata/alert-update.html
new file mode 100644
index 000000000..e24bb4e31
--- /dev/null
+++ b/templates/email/fixamingata/alert-update.html
@@ -0,0 +1,25 @@
+[%
+
+title = title | html;
+email_summary = "Ny uppdatering - " _ title;
+email_columns = 2;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% primary_column_style %]" id="primary_column">
+ [% start_padded_box %]
+ <h1 style="[% h1_style %]">Ny uppdatering i <a href="[% problem_url %]">[% title %]</a></h1>
+ [%~ INCLUDE '_email_comment_list.html' %]
+ <p style="[% p_style %]"><a href="[% unsubscribe_url %]">Avsluta min prenumeration kring denna rapport</a></p>
+ [% end_padded_box %]
+</th>
+[% WRAPPER '_email_sidebar.html' object = report %]
+ <h2 style="[% h2_style %]">[% title | html %]</h2>
+ <p style="[% secondary_p_style %]">[% detail | html %]</p>
+[% END %]
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/change_email.html b/templates/email/fixamingata/change_email.html
new file mode 100644
index 000000000..c5514fc2f
--- /dev/null
+++ b/templates/email/fixamingata/change_email.html
@@ -0,0 +1,21 @@
+[%
+
+email_summary = "Klicka på den här länken för att ändra din FixaMinGata-epostadress";
+email_columns = 1;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% only_column_style %]">
+ <h1 style="[% h1_style %]">Ändra din&nbsp;FixaMinGata-epostadress</h1>
+ <p style="[% p_style %]">Klicka på länken nedan för att bekräfta att du vill uppdatera din epostadress på FixaMinGata.</p>
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% button_style %]" href="[% c.uri_for_action( 'auth/token', token ) %]">Ändra min epostadress</a>
+ </p>
+ <p style="[% p_style %]">Om du inte vill ändra din epostadress så behöver du inte göra något.</p>
+</th>
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/change_email.txt b/templates/email/fixamingata/change_email.txt
new file mode 100644
index 000000000..c83c9bd3f
--- /dev/null
+++ b/templates/email/fixamingata/change_email.txt
@@ -0,0 +1,10 @@
+Subject: Uppdatera din e-postadress på [% site_name %]
+
+Klicka på länken nedan för att bekräfta att du vill uppdatera din
+e-postadress på [% site_name %].
+
+[% c.uri_for_action( 'auth/token', token ) %]
+
+[% INCLUDE 'signature.txt' %]
+
+Det går inte att svara på detta mail.
diff --git a/templates/email/fixamingata/confirm_report_sent.txt b/templates/email/fixamingata/confirm_report_sent.txt
new file mode 100644
index 000000000..50b28caf4
--- /dev/null
+++ b/templates/email/fixamingata/confirm_report_sent.txt
@@ -0,0 +1,23 @@
+Subject: [% site_name %] Rapport skickad: [% title %]
+
+Hej,
+
+Tack för att du använder [% site_name %] för att skicka din rapport
+"[% title %]".
+
+Din rapport har nu skickats till [% bodies_name %].
+
+Din rapport är också tillgänglig på [% url %], där andra kan läsa eller
+diskutera kring rapporten.
+
+Du kan lämna uppdateringar på ovanstående sida, men dessa kommer inte att
+skickas till kommunen.
+
+Om du vill skicka en uppdatering till din kommun, gör då detta då de har
+återkopplat till dig, så att du kan svara direkt till kommunen.
+
+Lycka till med att få ditt problem fixat!
+
+[% signature %]
+
+Det går inte att svara på detta mail.
diff --git a/templates/email/fixamingata/contact.html b/templates/email/fixamingata/contact.html
new file mode 100644
index 000000000..47c828a36
--- /dev/null
+++ b/templates/email/fixamingata/contact.html
@@ -0,0 +1,38 @@
+[%
+
+subject_html = subject | html;
+name = form_name | html;
+email_summary = "&ldquo;" _ subject_html _ "&rdquo; &ndash; Meddelande från " _ name _ " hos " _ host;
+email_footer = "Skickat via " _ host _ " och IP-adressen " _ ip;
+email_columns = 1;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% contact_meta_style %]">
+ <table [% table_reset %]>
+ <tr>
+ <th style="[% contact_th_style %]">Från</th>
+ <td style="[% contact_td_style %]">[% name %] &lt;<a href="mailto:[% em | html %]">[% em | html %]</a>&gt;</td>
+ </tr>
+ </table>
+</th>
+</tr>
+
+<tr>
+<th style="[% td_style %][% only_column_style %]">
+ <h1 style="[% h1_style %]">[% subject | html %]</h1>
+ <p style="[% p_style %]">[% message | html %]</p>
+ [%~ IF complaint %]
+ <p style="[% secondary_p_style %]">
+ [% complaint | html %]
+ - <a href="[% problem_url %]">Rapport</a>
+ - <a href="[% admin_url %]">Administratörskontrollpanel</a>
+ </p>
+ [%~ END %]
+</th>
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/login.html b/templates/email/fixamingata/login.html
new file mode 100644
index 000000000..ade57f912
--- /dev/null
+++ b/templates/email/fixamingata/login.html
@@ -0,0 +1,21 @@
+[%
+
+email_summary = "Klicka på knappen för att bekräfta din e-postadress och logga in på FixaMinGata";
+email_columns = 1;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% only_column_style %]">
+ <h1 style="[% h1_style %]">Välkommen till FixaMinGata!</h1>
+ <p style="[% p_style %]">För att bekräfta din epostadress måste du nu klicka på knappen nedan.</p>
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% button_style %]" href="[% c.uri_for_action( 'auth/token', token ) %]">Bekräfta min epostadress</a>
+ </p>
+ <p style="[% p_style %]">Du kommer sedan att kunna se dina rapporter och hantera dem via sajten.</p>
+</th>
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/login.txt b/templates/email/fixamingata/login.txt
index defcb57cb..e3d8f9f27 100644
--- a/templates/email/fixamingata/login.txt
+++ b/templates/email/fixamingata/login.txt
@@ -1,4 +1,4 @@
-Subject: [% loc('Your FixMyStreet.com account details') %]
+Subject: Ditt FixaMinGata-konto
Välkommen till FixaMinGata!
@@ -6,7 +6,6 @@ För att bekräfta din epostadress måste du nu klicka på länken nedan.
Du kommer sedan att kunna se dina rapporter och hantera dem via
webbsidan.
-
[% c.uri_for_action( 'auth/token', token ) %]
[% INCLUDE 'signature.txt' %]
diff --git a/templates/email/fixamingata/other-reported.html b/templates/email/fixamingata/other-reported.html
new file mode 100644
index 000000000..3ba29dcb0
--- /dev/null
+++ b/templates/email/fixamingata/other-reported.html
@@ -0,0 +1,30 @@
+[%
+
+email_summary = "Tack för att du loggade din rapport";
+email_columns = 2;
+
+PROCESS '_email_settings.html';
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% primary_column_style %]" id="primary_column">
+ [% start_padded_box %]
+ <h1 style="[% h1_style %]">Din rapport har&nbsp;loggats</h1>
+ <p style="[% p_style %]">Din rapport till [% report.body %] har blivit loggad på [% site_name %].
+[% IF c.cobrand.is_council && !c.cobrand.owns_problem( report ) %]
+Eftersom [% c.cobrand.council_name %] inte är ansvarig för den här typen av
+rapporter, så kommer rapporten istället att skickas till [% report.body %].
+[% END %]
+ </p>
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% button_style %]" href="[% cobrand.base_url_for_report(report) %][% report.url %]">Visa min rapport</a>
+ </p>
+ [% end_padded_box %]
+</th>
+[% WRAPPER '_email_sidebar.html' object = report %]
+ <h2 style="[% h2_style %]">[% report.title | html %]</h2>
+ <p style="[% secondary_p_style %]">[% report.detail | html %]</p>
+[% END %]
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/other-reported.txt b/templates/email/fixamingata/other-reported.txt
new file mode 100644
index 000000000..f530f788e
--- /dev/null
+++ b/templates/email/fixamingata/other-reported.txt
@@ -0,0 +1,26 @@
+Subject: Din rapport har&nbsp;loggats: [% report.title %]
+
+Hej [% report.name %],
+
+Din rapport till [% report.body %] har blivit loggad på [% site_name %].
+
+[% IF c.cobrand.is_council && !c.cobrand.owns_problem( report ) %]
+Eftersom [% c.cobrand.council_name %] inte är ansvarig för den här typen av
+rapporter, så kommer rapporten istället att skickas till [% report.body %].
+[% END %]
+
+Du kan se din rapport på:
+
+[% cobrand.base_url_for_report(report) %][% report.url %]
+
+Din rapport har titeln:
+
+[% report.title %]
+
+Och detaljerna:
+
+[% report.detail %]
+
+[% INCLUDE 'signature.txt' %]
+
+Det går inte att svara på detta mail.
diff --git a/templates/email/fixamingata/other-updated.html b/templates/email/fixamingata/other-updated.html
new file mode 100644
index 000000000..7be360ef7
--- /dev/null
+++ b/templates/email/fixamingata/other-updated.html
@@ -0,0 +1,26 @@
+[%
+
+email_summary = "Tack för att du loggade din uppdatering";
+email_columns = 2;
+
+PROCESS '_email_settings.html';
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% primary_column_style %]" id="primary_column">
+ [% start_padded_box %]
+ <h1 style="[% h1_style %]">Din uppdatering har&nbsp;loggats</h1>
+ <p style="[% p_style %]">Din uppdatering har blivit loggad på [% site_name %]:</p>
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% button_style %]" href="[% cobrand.base_url_for_report(problem) %][% problem.url %]#update_[% update.id %]">Visa min uppdatering</a>
+ </p>
+ [% end_padded_box %]
+</th>
+[% WRAPPER '_email_sidebar.html'
+ object = update
+ report = problem %]
+ <p style="[% secondary_p_style %]">[% update.text | html %]</p>
+[% END %]
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/other-updated.txt b/templates/email/fixamingata/other-updated.txt
new file mode 100644
index 000000000..2010511e9
--- /dev/null
+++ b/templates/email/fixamingata/other-updated.txt
@@ -0,0 +1,15 @@
+Subject: Din uppdatering har loggats
+
+Hej [% update.name %],
+
+Din uppdatering har blivit loggad på [% site_name %]:
+
+[% cobrand.base_url_for_report(problem) %][% problem.url %]#update_[% update.id %]
+
+Din uppdatering:
+
+[% update.text %]
+
+[% INCLUDE 'signature.txt' %]
+
+Det går inte att svara på detta mail.
diff --git a/templates/email/fixamingata/problem-confirm-not-sending.html b/templates/email/fixamingata/problem-confirm-not-sending.html
new file mode 100644
index 000000000..0a06d2880
--- /dev/null
+++ b/templates/email/fixamingata/problem-confirm-not-sending.html
@@ -0,0 +1,30 @@
+[%
+
+email_summary = "Du måste bekräfta din FixaMinGata-rapport innan den kan visas på sajten";
+email_columns = 2;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% primary_column_style %]" id="primary_column">
+ [% start_padded_box %]
+ <h1 style="[% h1_style %]">Bekräfta din&nbsp;FixaMinGata-rapport</h1>
+ <p style="[% p_style %]">För att bekräfta den rapport som du nyligen lade in på FixaMinGata
+måste du klicka på nedanstående länk. Notera att din rapport inte kommer att
+skickas till kommunen.</p>
+ <p style="[% p_style %]">Din rapport kommer också att visas på FixaMinGata.</p>
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% button_style %]" href="[% token_url %]">Skicka min rapport</a>
+ </p>
+ <p style="[% p_style %]">Om du inte vill skicka din rapport så behöver du inte göra något.</p>
+ [% end_padded_box %]
+</th>
+[% WRAPPER '_email_sidebar.html' object = report %]
+ <h2 style="[% h2_style %]">[% report.title | html %]</h2>
+ <p style="[% secondary_p_style %]">[% report.detail | html %]</p>
+[% END %]
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/problem-confirm-not-sending.txt b/templates/email/fixamingata/problem-confirm-not-sending.txt
new file mode 100644
index 000000000..0ec162063
--- /dev/null
+++ b/templates/email/fixamingata/problem-confirm-not-sending.txt
@@ -0,0 +1,22 @@
+Subject: Bekräfta din rapport på [% INCLUDE 'site-name.txt' | trim %]
+
+Hej [% report.name %],
+
+För att bekräfta den rapport som du nyligen lade in på FixaMinGata
+måste du klicka på nedanstående länk. Notera att din rapport inte
+kommer att skickas till kommunen.
+
+[% token_url %]
+
+Om det inte går att klicka på länken kan du kopiera den och klistra in
+i adressfältet på din webläsare.
+
+Din rapport har titeln: [% report.title %]
+
+Du har angivit följande information om problemet:
+
+[% report.detail %]
+
+[% INCLUDE 'signature.txt' %]
+
+Det går inte att svara på detta mail.
diff --git a/templates/email/fixamingata/problem-confirm.html b/templates/email/fixamingata/problem-confirm.html
new file mode 100644
index 000000000..8e2828f25
--- /dev/null
+++ b/templates/email/fixamingata/problem-confirm.html
@@ -0,0 +1,29 @@
+[%
+
+email_summary = "Du måste bekräfta din FixaMinGata-rapport innan den kan skickas till ${ report.body }";
+email_columns = 2;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% primary_column_style %]" id="primary_column">
+ [% start_padded_box %]
+ <h1 style="[% h1_style %]">Bekräfta din&nbsp;FixaMinGata-rapport</h1>
+ <p style="[% p_style %]">För att bekräfta den rapport som du nyligen lade in på FixaMinGata
+måste du klicka på nedanstående knapp.</p>
+ <p style="[% p_style %]">Din rapport kommer också att visas på FixaMinGata.</p>
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% button_style %]" href="[% token_url %]">Skicka min rapport</a>
+ </p>
+ <p style="[% p_style %]">Om du inte vill skicka din rapport så behöver du inte göra något.</p>
+ [% end_padded_box %]
+</th>
+[% WRAPPER '_email_sidebar.html' object = report %]
+ <h2 style="[% h2_style %]">[% report.title | html %]</h2>
+ <p style="[% secondary_p_style %]">[% report.detail | html %]</p>
+[% END %]
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/problem-confirm.txt b/templates/email/fixamingata/problem-confirm.txt
index 67bc4b82d..8d020ce5d 100644
--- a/templates/email/fixamingata/problem-confirm.txt
+++ b/templates/email/fixamingata/problem-confirm.txt
@@ -16,5 +16,4 @@ Du har angivit följande information om problemet:
[% report.detail %]
-
[% INCLUDE 'signature.txt' %]
diff --git a/templates/email/fixamingata/problem-moderated.html b/templates/email/fixamingata/problem-moderated.html
new file mode 100644
index 000000000..02bace72f
--- /dev/null
+++ b/templates/email/fixamingata/problem-moderated.html
@@ -0,0 +1,32 @@
+[%
+
+email_summary = "Din rapport på " _ site_name _ " har blivit modererad.";
+email_columns = 2;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% primary_column_style %]" id="primary_column">
+ [% start_padded_box %]
+ <h1 style="[% h1_style %]">Din rapport har blivit&nbsp;modererad</h1>
+[% IF types == 'hide' -%]
+ <p style="[% p_style %]">Din rapport har dolts från sajten.</p>
+[% ELSE %]
+ <p style="[% p_style %]">Följande information har ändrats: <strong>[% types %]</strong></p>
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% button_style %]" href="[% report_uri %]">Visa min rapport</a>
+ </p>
+[% END -%]
+ <p style="[% p_style %]">Om du inte tycker att rapporten skulle ha blivit modererad kan du
+kontakta FixaMinGata:s support på <a href="[% report_complain_uri %]">[% report_complain_uri %]</a></p>
+ [% end_padded_box %]
+</th>
+[% WRAPPER '_email_sidebar.html' object = problem %]
+ <h2 style="[% h2_style %]">[% problem.moderation_original_data.title | html %]</h2>
+ <p style="[% secondary_p_style %]">[% problem.moderation_original_data.detail | html %]</p>
+[% END %]
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/problem-moderated.txt b/templates/email/fixamingata/problem-moderated.txt
new file mode 100644
index 000000000..ad03ba421
--- /dev/null
+++ b/templates/email/fixamingata/problem-moderated.txt
@@ -0,0 +1,33 @@
+Subject: Din rapport har blivit modererad
+
+Hej [% user.name %],
+
+Din rapport på [% site_name %] har blivit modererad.
+
+[% IF types == 'hide' -%]
+Din rapport har dolts från sajten.
+[% ELSE %]
+Följande information har ändrats:
+
+ [% types %]
+
+[% END -%]
+
+Din rapport har titeln:
+
+[% problem.moderation_original_data.title %]
+
+Du har angivit följande information om problemet:
+
+[% problem.moderation_original_data.detail %]
+
+[% UNLESS types == 'hide' %]
+Du kan se rapporten på [% report_uri %]
+[% END %]
+
+Om du inte tycker att rapporten skulle ha blivit modererad kan du kontakta
+FixaMinGata:s support på [% report_complain_uri %]
+
+[% INCLUDE 'signature.txt' %]
+
+Det går inte att svara på detta mail.
diff --git a/templates/email/fixamingata/questionnaire.html b/templates/email/fixamingata/questionnaire.html
new file mode 100644
index 000000000..efcfbff89
--- /dev/null
+++ b/templates/email/fixamingata/questionnaire.html
@@ -0,0 +1,30 @@
+[%
+
+title = report.title | html;
+email_summary = "Har du en minut över? Informera oss om vad som hände med din FixaMinGata-rapport om ${ title }.";
+email_columns = 2;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% primary_column_style %]" id="primary_column">
+ [% start_padded_box %]
+ <h1 style="[% h1_style %]">Har ditt problem blivit&nbsp;fixat?</h1>
+ <p style="[% p_style %]">[% created %] sedan lämnade du en rapport på FixaMinGata.</p>
+ <p style="[% p_style %]">För att hålla alla rapporter uppdaterade skulle vi uppskatta om du kunde informera oss om huruvida problemet har blivit fixat än:</p>
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% fixed_button_style %]" href="[% url %]">Fixat</a>
+ <a style="[% notfixed_button_style %]" href="[% url %]">Ej fixat</a>
+ </p>
+ <p style="[% p_style %]">Tack! Din feedback är värdefull.</p>
+ [% end_padded_box %]
+</th>
+[% WRAPPER '_email_sidebar.html' object = report %]
+ <h2 style="[% h2_style %]">[% title %]</h2>
+ <p style="[% secondary_p_style %]">[% report.detail | html %]</p>
+[% END %]
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/reply-autoresponse b/templates/email/fixamingata/reply-autoresponse
index 7935b1717..aee80078f 100644
--- a/templates/email/fixamingata/reply-autoresponse
+++ b/templates/email/fixamingata/reply-autoresponse
@@ -2,7 +2,7 @@ Subject: Automatiskt svar på ditt brev till FixaMinGata
Hej,
-det här ett ett automatiskt svar på ditt brev. Ditt brev har inte
+Det här ett ett automatiskt svar på ditt brev. Ditt brev har inte
lästs eller levererats till någon.
Om du svarar på ett brev om en uppdatering måste du klicka på
diff --git a/templates/email/fixamingata/submit.html b/templates/email/fixamingata/submit.html
new file mode 100644
index 000000000..da4e7f48f
--- /dev/null
+++ b/templates/email/fixamingata/submit.html
@@ -0,0 +1,57 @@
+[%
+
+email_summary = "Det här meddelandet rör en rapport om ett problem i gatumiljön som en medborgare lämnat via tjänsten FixaMinGata";
+email_footer = "Föreningen Sambruk som driver tjänsten ansvarar för en användargrupp som det går bra att gå med i för att få tillgång till ytterligare FixaMinGata-relaterade tjänster och support. Bland annat kan varje kategori ha sin egen e-postadress, och FixaMinGata kan även kopplas mot system som Open311";
+email_columns = 2;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% primary_column_style %]" id="primary_column">
+ [% start_padded_box %]
+ <h1 style="[% h1_style %]">Ny rapport för [% report.body %]</h1>
+ <p style="[% p_style %]">[% missing %][% multiple %]Följande rapport
+tror medborgaren behöver er uppmärksamhet.</p>
+
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% button_style %]" href="[% url %]">Visa rapporten</a>
+ </p>
+ <h2 style="[% h2_style %] margin: 30px 0 10px 0">Rapporterad av:</h2>
+ <table [% table_reset %]>
+ <tr>
+ <th style="[% contact_th_style %]">Namn</th>
+ <td style="[% contact_td_style %]">[% name | html %]</td>
+ </tr>
+ <tr>
+ <th style="[% contact_th_style %]">Epost</th>
+ <td style="[% contact_td_style %]"><a href="mailto:[% email | html %]">[% email | html %]</a></td>
+ </tr>
+ [%~ IF phone %]
+ <tr>
+ <th style="[% contact_th_style %]">Telefon</th>
+ <td style="[% contact_td_style %]"><a href="tel:[% phone | html %]">[% phone | html %]</a></td>
+ </tr>
+ [%~ END %]
+ </table>
+ <p style="[% p_style %] margin-top: 0.5em;">Svar på det här brevet kommer att skickas till den person som lämnade rapporten.</p>
+ [% end_padded_box %]
+</th>
+[% WRAPPER '_email_sidebar.html' object = report %]
+ <h2 style="[% h2_style %]">[% title | html %]</h2>
+ [%~ IF category_line %]
+ <p style="[% secondary_p_style %]">[% category | html %]</p>
+ [%~ END %]
+ <p style="[% secondary_p_style %]">[% detail | html %]</p>
+ <p style="[% secondary_p_style %]">
+ <strong>Plats:</strong>
+ <a href="[% osm_url %]" title="Se den här platsen på OpenStreetMap">
+ [%~ latitude %], [% longitude ~%]
+ </a>
+ [% IF closest_address %]<br>[% closest_address | trim | replace("\n\n", "<br>") %][% END %]
+ </p>
+[% END %]
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/update-confirm-donotsend.txt b/templates/email/fixamingata/update-confirm-donotsend.txt
new file mode 100644
index 000000000..1dae08ac9
--- /dev/null
+++ b/templates/email/fixamingata/update-confirm-donotsend.txt
@@ -0,0 +1,2 @@
+Notera att vi inte skickar uppdateringar till [% update.problem.body %] - endast
+användare som prenumererar på uppdateringar i ärendet kommer att se ditt inlägg.
diff --git a/templates/email/fixamingata/update-confirm.html b/templates/email/fixamingata/update-confirm.html
new file mode 100644
index 000000000..3953b16fd
--- /dev/null
+++ b/templates/email/fixamingata/update-confirm.html
@@ -0,0 +1,29 @@
+[%
+
+email_summary = "Bekräfta din uppdatering på " _ site_name;
+email_columns = 2;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% primary_column_style %]" id="primary_column">
+ [% start_padded_box %]
+ <h1 style="[% h1_style %]">Bekräfta din uppdatering</h1>
+ <p style="[% p_style %]">Vänligen klicka på knappen nedan för att bekräfta den uppdatering du just lämnade:</p>
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% button_style %]" href="[% token_url %]">Bekräfta min uppdatering</a>
+ </p>
+ <p style="[% p_style %]">[% INCLUDE 'update-confirm-donotsend.txt' %]</p>
+ <p style="[% p_style %]">Om du inte vill bekräfta din uppdatering behöver du inte göra något.</p>
+ [% end_padded_box %]
+</th>
+[% WRAPPER '_email_sidebar.html'
+ object = update
+ report = problem %]
+ <p style="[% secondary_p_style %]">[% update.text | html %]</p>
+[% END %]
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/update-confirm.txt b/templates/email/fixamingata/update-confirm.txt
index 6ef35f83d..6670bd0ea 100644
--- a/templates/email/fixamingata/update-confirm.txt
+++ b/templates/email/fixamingata/update-confirm.txt
@@ -2,7 +2,7 @@ Subject: Bekräfta din uppdatering på [% INCLUDE 'site-name.txt' | trim %]
Hej [% update.name %],
-vänligen klicka på länken nedan för att bekräfta den uppdatering du
+Vänligen klicka på länken nedan för att bekräfta den uppdatering du
just lämnade:
[% token_url %]