aboutsummaryrefslogtreecommitdiff
path: root/templates/mail/textMessage.vm
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/mail/textMessage.vm
parent32cf37a4784418bc9be8d66add1b51af3aa91a4d (diff)
downloadtrackermap-server-99e16edfd8b29d5ef1b751eefcf87a14df35cb9b.tar.gz
trackermap-server-99e16edfd8b29d5ef1b751eefcf87a14df35cb9b.tar.bz2
trackermap-server-99e16edfd8b29d5ef1b751eefcf87a14df35cb9b.zip
Implement phone to device comparison
Diffstat (limited to 'templates/mail/textMessage.vm')
-rw-r--r--templates/mail/textMessage.vm9
1 files changed, 9 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>