aboutsummaryrefslogtreecommitdiff
path: root/templates/mail
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-04-18 21:05:09 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-04-18 21:05:09 +1200
commitd8e9e8b26239499a87440ecc6a611b82f07986a7 (patch)
tree1997ed83e78d6527187555f7fcd8c0bcbf11fd1d /templates/mail
parent3aaaa1de76612e26c6d25f930d94fdf4ee810d7d (diff)
downloadtrackermap-server-d8e9e8b26239499a87440ecc6a611b82f07986a7.tar.gz
trackermap-server-d8e9e8b26239499a87440ecc6a611b82f07986a7.tar.bz2
trackermap-server-d8e9e8b26239499a87440ecc6a611b82f07986a7.zip
Add fuel drop event templates
Diffstat (limited to 'templates/mail')
-rw-r--r--templates/mail/deviceFuelDrop.vm9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/mail/deviceFuelDrop.vm b/templates/mail/deviceFuelDrop.vm
new file mode 100644
index 000000000..c30ec3a1c
--- /dev/null
+++ b/templates/mail/deviceFuelDrop.vm
@@ -0,0 +1,9 @@
+#set($subject = "$device.name: fuel drop")
+<!DOCTYPE html>
+<html>
+<body>
+Device: $device.name<br>
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)<br>
+Point: <a href="$webUrl?eventId=$event.id">#{if}($position.address)$position.address#{else}$position.latitude&deg;, $position.longitude&deg;#{end}</a><br>
+</body>
+</html>