aboutsummaryrefslogtreecommitdiff
path: root/templates/mail/deviceOverspeed.vm
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-06 13:43:51 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-06 13:43:51 +0500
commitfe5e6f7e1aaa01dfe8d61af46c3b818f8c566a25 (patch)
tree778b00dd1a6162007cb08239d475884843a678ba /templates/mail/deviceOverspeed.vm
parent3e5167131c758dd6e75e0f5d9b265a1514baac0c (diff)
downloadtrackermap-server-fe5e6f7e1aaa01dfe8d61af46c3b818f8c566a25.tar.gz
trackermap-server-fe5e6f7e1aaa01dfe8d61af46c3b818f8c566a25.tar.bz2
trackermap-server-fe5e6f7e1aaa01dfe8d61af46c3b818f8c566a25.zip
Move units to attributes and add volume units
Diffstat (limited to 'templates/mail/deviceOverspeed.vm')
-rw-r--r--templates/mail/deviceOverspeed.vm4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/mail/deviceOverspeed.vm b/templates/mail/deviceOverspeed.vm
index 0715a3d60..b1f0a6734 100644
--- a/templates/mail/deviceOverspeed.vm
+++ b/templates/mail/deviceOverspeed.vm
@@ -1,8 +1,8 @@
#set($subject = "$device.name: exceeds the speed")
-#if($speedUnits == 'kmh')
+#if($speedUnit == 'kmh')
#set($speedValue = $position.speed * 1.852)
#set($speedString = $numberTool.format("0.0 km/h", $speedValue))
-#elseif($speedUnits == 'mph')
+#elseif($speedUnit == 'mph')
#set($speedValue = $position.speed * 1.15078)
#set($speedString = $numberTool.format("0.0 mph", $speedValue))
#else