aboutsummaryrefslogtreecommitdiff
path: root/templates/sms
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-07-14 11:59:31 +0500
committerAbyss777 <abyss@fox5.ru>2017-07-14 11:59:31 +0500
commitc0cbde51aa75a5b2df58b11e76527ee703289541 (patch)
tree394e18d9e36c1423843de01a88e290a4d25e099c /templates/sms
parent9949cadcdf3f07a4590742e2f0303d82efb653f9 (diff)
downloadtraccar-server-c0cbde51aa75a5b2df58b11e76527ee703289541.tar.gz
traccar-server-c0cbde51aa75a5b2df58b11e76527ee703289541.tar.bz2
traccar-server-c0cbde51aa75a5b2df58b11e76527ee703289541.zip
Implement driverChanged event instead of driverUnauthorized
Diffstat (limited to 'templates/sms')
-rw-r--r--templates/sms/driverChanged.vm6
-rw-r--r--templates/sms/driverUnauthorized.vm6
2 files changed, 6 insertions, 6 deletions
diff --git a/templates/sms/driverChanged.vm b/templates/sms/driverChanged.vm
new file mode 100644
index 000000000..50849df7c
--- /dev/null
+++ b/templates/sms/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)
diff --git a/templates/sms/driverUnauthorized.vm b/templates/sms/driverUnauthorized.vm
deleted file mode 100644
index 52c819eb8..000000000
--- a/templates/sms/driverUnauthorized.vm
+++ /dev/null
@@ -1,6 +0,0 @@
-#if($driver)
-#set($driverName = $driver.name)
-#else
-#set($driverName = $event.getString("driverUniqueId"))
-#end
-$driverName is unauthorized for $device.name at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)