aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Siltberg <git@joesiltberg.se>2019-01-14 09:25:50 +0100
committerJoe Siltberg <git@joesiltberg.se>2019-02-21 12:45:27 +0100
commit4ee3387b4b74171e4da83949694711be93bfe4b5 (patch)
tree0edf02c8b3a19304a1394d99a30ce352e0ccf36a
parent1fcda0014022042efb17920699638c30156b04d2 (diff)
[FixaMinGata] Adds email templates for inactive accounts.
-rw-r--r--templates/email/fixamingata/inactive-account.html26
-rw-r--r--templates/email/fixamingata/inactive-account.txt17
2 files changed, 43 insertions, 0 deletions
diff --git a/templates/email/fixamingata/inactive-account.html b/templates/email/fixamingata/inactive-account.html
new file mode 100644
index 000000000..20c309095
--- /dev/null
+++ b/templates/email/fixamingata/inactive-account.html
@@ -0,0 +1,26 @@
+[%
+
+email_summary = "Ditt inaktiva konto på " _ site_name;
+email_columns = 1;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% only_column_style %]">
+ <h1 style="[% h1_style %]">Ditt inaktiva konto</h1>
+ <p style="[% p_style %]">
+Ditt konto på [% site_name %] har varit inaktivt i [% email_from %]
+[% nget('month', 'months', email_from) %], och vi tar automatiskt bort
+konton som har varit inaktiva i [% anonymize_from %]
+[% nget('month', 'months', anonymize_from) %]. Om du vill behålla ditt
+konto, vänligen logga in för att hålla kontot aktivt:
+</p>
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% button_style %]" href="[% url %]">Besök [% site_name %]</a>
+ </p>
+ <p style="[% p_style %]">Tack för att du använder [% site_name %]!</p>
+
+[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/fixamingata/inactive-account.txt b/templates/email/fixamingata/inactive-account.txt
new file mode 100644
index 000000000..b7b74c077
--- /dev/null
+++ b/templates/email/fixamingata/inactive-account.txt
@@ -0,0 +1,17 @@
+Subject: Ditt inaktiva konto på [% site_name %]
+
+Hej [% user.name %],
+
+Ditt konto på [% site_name %] har varit inaktivt i [% email_from %]
+[% nget('month', 'months', email_from) %], och vi tar automatiskt bort
+konton som har varit inaktiva i [% anonymize_from %]
+[% nget('month', 'months', anonymize_from) %]. Om du vill behålla ditt
+konto, vänligen logga in för att hålla kontot aktivt:
+
+[% url %]
+
+Tack för att du använder [% site_name %]!
+
+[% INCLUDE 'signature.txt' %]
+
+Det går inte att svara på detta mail.