aboutsummaryrefslogtreecommitdiff
path: root/templates/full/deviceStopped.vm
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-06-28 17:07:25 +1200
committerGitHub <noreply@github.com>2018-06-28 17:07:25 +1200
commite849d3a56f55c83dc0ebed02165a124e30e22dbd (patch)
tree730e542145652ca1d06c64a6944dfa70e0b31b6b /templates/full/deviceStopped.vm
parent4d6229c7daa4a7b8f28337c5eca9a422876c98b1 (diff)
parent14840af2abd9976b8f5634af8e77f4a7126dfac1 (diff)
downloadtraccar-server-e849d3a56f55c83dc0ebed02165a124e30e22dbd.tar.gz
traccar-server-e849d3a56f55c83dc0ebed02165a124e30e22dbd.tar.bz2
traccar-server-e849d3a56f55c83dc0ebed02165a124e30e22dbd.zip
Merge pull request #3950 from Abyss777/notification_refactor
Notification refactor to allow custom "notificators"
Diffstat (limited to 'templates/full/deviceStopped.vm')
-rw-r--r--templates/full/deviceStopped.vm10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/full/deviceStopped.vm b/templates/full/deviceStopped.vm
new file mode 100644
index 000000000..2ec0f8db9
--- /dev/null
+++ b/templates/full/deviceStopped.vm
@@ -0,0 +1,10 @@
+#set($subject = "$device.name: stopped")
+<!DOCTYPE html>
+<html>
+<body>
+Device: $device.name<br>
+Stopped<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>