aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/mail/deviceFuelDrop.vm9
-rw-r--r--templates/sms/deviceFuelDrop.vm1
2 files changed, 10 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>
diff --git a/templates/sms/deviceFuelDrop.vm b/templates/sms/deviceFuelDrop.vm
new file mode 100644
index 000000000..5e51396d4
--- /dev/null
+++ b/templates/sms/deviceFuelDrop.vm
@@ -0,0 +1 @@
+$device.name fuel drop at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)