aboutsummaryrefslogtreecommitdiff
path: root/templates/forwarder/driverChanged.vm
diff options
context:
space:
mode:
authorShinryuken <watertext@hotmail.it>2017-11-06 21:50:29 +0100
committerGitHub <noreply@github.com>2017-11-06 21:50:29 +0100
commitf4f77d7003907a9de95beaafd08306fdc2655f42 (patch)
treeae2ed1d2c1a4f29a98ed12a10a04321dbd7e9636 /templates/forwarder/driverChanged.vm
parentc54a12152ccdbe04e4aa9b63b990a00f8702bce4 (diff)
downloadtraccar-server-f4f77d7003907a9de95beaafd08306fdc2655f42.tar.gz
traccar-server-f4f77d7003907a9de95beaafd08306fdc2655f42.tar.bz2
traccar-server-f4f77d7003907a9de95beaafd08306fdc2655f42.zip
New templates for event forwarded messages
Diffstat (limited to 'templates/forwarder/driverChanged.vm')
-rw-r--r--templates/forwarder/driverChanged.vm6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/forwarder/driverChanged.vm b/templates/forwarder/driverChanged.vm
new file mode 100644
index 000000000..50849df7c
--- /dev/null
+++ b/templates/forwarder/driverChanged.vm
@@ -0,0 +1,6 @@
+#if($driver)
+#set($driverName = $driver.name)
+#else
+#set($driverName = $event.getString("driverUniqueId"))
+#end
+Driver $driverName has changed in $device.name at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)