aboutsummaryrefslogtreecommitdiff
path: root/templates/full
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-08-03 19:06:12 -0700
committerAnton Tananaev <anton@traccar.org>2022-08-03 19:06:12 -0700
commit074cc52c3d645ac974a1489aa4e197d471093403 (patch)
treec26cf338a5b02805731c631fb101db1dffad7590 /templates/full
parent6d1923bd6b4841eac9d1a383e1eafe6cab30ce8c (diff)
downloadtrackermap-server-074cc52c3d645ac974a1489aa4e197d471093403.tar.gz
trackermap-server-074cc52c3d645ac974a1489aa4e197d471093403.tar.bz2
trackermap-server-074cc52c3d645ac974a1489aa4e197d471093403.zip
Implement refuel events
Diffstat (limited to 'templates/full')
-rw-r--r--templates/full/deviceFuelIncrease.vm11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/full/deviceFuelIncrease.vm b/templates/full/deviceFuelIncrease.vm
new file mode 100644
index 000000000..9d4474e1a
--- /dev/null
+++ b/templates/full/deviceFuelIncrease.vm
@@ -0,0 +1,11 @@
+#set($subject = "$device.name: fuel increase")
+<!DOCTYPE html>
+<html>
+<body>
+Device: $device.name<br>
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $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>
+<br>
+<a href="$webUrl/settings/notifications?token=$token">Unsubscribe</a>
+</body>
+</html>