aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-03-16 09:49:34 +0500
committerAbyss777 <abyss@fox5.ru>2017-03-20 10:49:21 +0500
commit99e16edfd8b29d5ef1b751eefcf87a14df35cb9b (patch)
tree3427204a869a9ba568df7e71c5358104dc52ec09 /templates
parent32cf37a4784418bc9be8d66add1b51af3aa91a4d (diff)
downloadtraccar-server-99e16edfd8b29d5ef1b751eefcf87a14df35cb9b.tar.gz
traccar-server-99e16edfd8b29d5ef1b751eefcf87a14df35cb9b.tar.bz2
traccar-server-99e16edfd8b29d5ef1b751eefcf87a14df35cb9b.zip
Implement phone to device comparison
Diffstat (limited to 'templates')
-rw-r--r--templates/mail/textMessage.vm9
-rw-r--r--templates/sms/textMessage.vm1
2 files changed, 10 insertions, 0 deletions
diff --git a/templates/mail/textMessage.vm b/templates/mail/textMessage.vm
new file mode 100644
index 000000000..174173c85
--- /dev/null
+++ b/templates/mail/textMessage.vm
@@ -0,0 +1,9 @@
+#set($subject = "$device.name: text message received")
+<!DOCTYPE html>
+<html>
+<body>
+Device: $device.name<br>
+Message: $event.getString("message")<br>
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)<br>
+</body>
+</html>
diff --git a/templates/sms/textMessage.vm b/templates/sms/textMessage.vm
new file mode 100644
index 000000000..dc42f29f1
--- /dev/null
+++ b/templates/sms/textMessage.vm
@@ -0,0 +1 @@
+Text message received from $device.name at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)