diff options
author | Anton Tananaev <anton@traccar.org> | 2022-08-03 19:06:12 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-08-03 19:06:12 -0700 |
commit | 074cc52c3d645ac974a1489aa4e197d471093403 (patch) | |
tree | c26cf338a5b02805731c631fb101db1dffad7590 /templates | |
parent | 6d1923bd6b4841eac9d1a383e1eafe6cab30ce8c (diff) | |
download | trackermap-server-074cc52c3d645ac974a1489aa4e197d471093403.tar.gz trackermap-server-074cc52c3d645ac974a1489aa4e197d471093403.tar.bz2 trackermap-server-074cc52c3d645ac974a1489aa4e197d471093403.zip |
Implement refuel events
Diffstat (limited to 'templates')
-rw-r--r-- | templates/full/deviceFuelIncrease.vm | 11 | ||||
-rw-r--r-- | templates/short/deviceFuelIncrease.vm | 2 |
2 files changed, 13 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°, $position.longitude°#{end}</a><br> +<br> +<a href="$webUrl/settings/notifications?token=$token">Unsubscribe</a> +</body> +</html> diff --git a/templates/short/deviceFuelIncrease.vm b/templates/short/deviceFuelIncrease.vm new file mode 100644 index 000000000..6a11418b1 --- /dev/null +++ b/templates/short/deviceFuelIncrease.vm @@ -0,0 +1,2 @@ +#set($subject = "$device.name: fuel increase") +$device.name fuel increase at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone) |