diff options
author | Abyss777 <abyss@fox5.ru> | 2017-07-14 11:59:31 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-07-14 11:59:31 +0500 |
commit | c0cbde51aa75a5b2df58b11e76527ee703289541 (patch) | |
tree | 394e18d9e36c1423843de01a88e290a4d25e099c /templates/mail/driverChanged.vm | |
parent | 9949cadcdf3f07a4590742e2f0303d82efb653f9 (diff) | |
download | trackermap-server-c0cbde51aa75a5b2df58b11e76527ee703289541.tar.gz trackermap-server-c0cbde51aa75a5b2df58b11e76527ee703289541.tar.bz2 trackermap-server-c0cbde51aa75a5b2df58b11e76527ee703289541.zip |
Implement driverChanged event instead of driverUnauthorized
Diffstat (limited to 'templates/mail/driverChanged.vm')
-rw-r--r-- | templates/mail/driverChanged.vm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/mail/driverChanged.vm b/templates/mail/driverChanged.vm new file mode 100644 index 000000000..ba1e68661 --- /dev/null +++ b/templates/mail/driverChanged.vm @@ -0,0 +1,10 @@ +#set($subject = "$device.name: driver has changed") +<!DOCTYPE html> +<html> +<body> +Device: $device.name<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°, $position.longitude°#{end}</a><br> +Driver: #{if}($driver)$driver.name#{else}$event.getString("driverUniqueId")#{end} +</body> +</html> |