aboutsummaryrefslogtreecommitdiff
path: root/templates/sms/deviceOverspeed.vm
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2018-05-07 15:00:21 +0500
committerAbyss777 <abyss@fox5.ru>2018-05-07 15:00:21 +0500
commitce26a0768ace197cc9afdfc3ee04f970699d3c5e (patch)
tree6dfa7cd23dc00c56260af1b7c2960a755c166bb4 /templates/sms/deviceOverspeed.vm
parent4713a115fbe4a37ddf24e96edeab800843607f90 (diff)
downloadtrackermap-server-ce26a0768ace197cc9afdfc3ee04f970699d3c5e.tar.gz
trackermap-server-ce26a0768ace197cc9afdfc3ee04f970699d3c5e.tar.bz2
trackermap-server-ce26a0768ace197cc9afdfc3ee04f970699d3c5e.zip
Add basic support of overspeeding inside geofences.
Diffstat (limited to 'templates/sms/deviceOverspeed.vm')
-rw-r--r--templates/sms/deviceOverspeed.vm2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/sms/deviceOverspeed.vm b/templates/sms/deviceOverspeed.vm
index f0b03c9e7..5e92f662c 100644
--- a/templates/sms/deviceOverspeed.vm
+++ b/templates/sms/deviceOverspeed.vm
@@ -7,4 +7,4 @@
#else
#set($speedString = $numberTool.format("0.0 kn", $position.speed))
#end
-$device.name exceeds the speed $speedString at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+$device.name exceeds the speed $speedString#{if}($geofence) in $geofence.name#{else}#{end} at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)