aboutsummaryrefslogtreecommitdiff
path: root/templates/full
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-01-07 12:13:47 -0800
committerAnton Tananaev <anton@traccar.org>2024-01-07 12:13:47 -0800
commit346a860b0aae7097445aa5aa22f37a88d9d7955e (patch)
tree520d427da83bd5f5fde19f86bedc8813fbcd95be /templates/full
parentc15525531bbdc953b0c11e5365540f68b0da1e4e (diff)
downloadtrackermap-server-346a860b0aae7097445aa5aa22f37a88d9d7955e.tar.gz
trackermap-server-346a860b0aae7097445aa5aa22f37a88d9d7955e.tar.bz2
trackermap-server-346a860b0aae7097445aa5aa22f37a88d9d7955e.zip
User and device expiration emails
Diffstat (limited to 'templates/full')
-rw-r--r--templates/full/deviceExpiration.vm7
-rw-r--r--templates/full/deviceExpirationReminder.vm7
-rw-r--r--templates/full/userExpiration.vm7
-rw-r--r--templates/full/userExpirationReminder.vm7
4 files changed, 28 insertions, 0 deletions
diff --git a/templates/full/deviceExpiration.vm b/templates/full/deviceExpiration.vm
new file mode 100644
index 000000000..879b31778
--- /dev/null
+++ b/templates/full/deviceExpiration.vm
@@ -0,0 +1,7 @@
+#set($subject = "Device expiration")
+<!DOCTYPE html>
+<html>
+<body>
+Your device $device.name has expired.
+</body>
+</html>
diff --git a/templates/full/deviceExpirationReminder.vm b/templates/full/deviceExpirationReminder.vm
new file mode 100644
index 000000000..aa47ac0ed
--- /dev/null
+++ b/templates/full/deviceExpirationReminder.vm
@@ -0,0 +1,7 @@
+#set($subject = "Device expiration reminder")
+<!DOCTYPE html>
+<html>
+<body>
+Your device $device.name will expire on $dateTool.format("YYYY-MM-dd", $expiration, $locale, $timezone).
+</body>
+</html>
diff --git a/templates/full/userExpiration.vm b/templates/full/userExpiration.vm
new file mode 100644
index 000000000..43fe2563e
--- /dev/null
+++ b/templates/full/userExpiration.vm
@@ -0,0 +1,7 @@
+#set($subject = "Account expiration")
+<!DOCTYPE html>
+<html>
+<body>
+Your user account has expired.
+</body>
+</html>
diff --git a/templates/full/userExpirationReminder.vm b/templates/full/userExpirationReminder.vm
new file mode 100644
index 000000000..ecdee0588
--- /dev/null
+++ b/templates/full/userExpirationReminder.vm
@@ -0,0 +1,7 @@
+#set($subject = "Account expiration reminder")
+<!DOCTYPE html>
+<html>
+<body>
+Your user account will expire on $dateTool.format("YYYY-MM-dd", $expiration, $locale, $timezone).
+</body>
+</html>