From 3614e9ad2f40e92a91b796ac815398e7b4f96c02 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 18 Mar 2021 21:15:16 -0700 Subject: Update event templates --- templates/full/alarm.vm | 2 +- templates/full/commandResult.vm | 2 +- templates/full/deviceFuelDrop.vm | 2 +- templates/full/deviceMoving.vm | 2 +- templates/full/deviceOffline.vm | 2 +- templates/full/deviceOnline.vm | 2 +- templates/full/deviceOverspeed.vm | 2 +- templates/full/deviceStopped.vm | 2 +- templates/full/deviceUnknown.vm | 2 +- templates/full/driverChanged.vm | 2 +- templates/full/geofenceEnter.vm | 2 +- templates/full/geofenceExit.vm | 2 +- templates/full/ignitionOff.vm | 2 +- templates/full/ignitionOn.vm | 2 +- templates/full/maintenance.vm | 2 +- templates/full/textMessage.vm | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) (limited to 'templates/full') diff --git a/templates/full/alarm.vm b/templates/full/alarm.vm index 8f1164291..8eac3930a 100644 --- a/templates/full/alarm.vm +++ b/templates/full/alarm.vm @@ -4,7 +4,7 @@ Device: $device.name
Alarm: $position.getString("alarm")
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Point: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
diff --git a/templates/full/commandResult.vm b/templates/full/commandResult.vm index 5b6d8ef3e..c5ceffab0 100644 --- a/templates/full/commandResult.vm +++ b/templates/full/commandResult.vm @@ -4,7 +4,7 @@ Device: $device.name
Result: $position.getString("result")
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Link: $webUrl?eventId=$event.id diff --git a/templates/full/deviceFuelDrop.vm b/templates/full/deviceFuelDrop.vm index c30ec3a1c..a50e8ca38 100644 --- a/templates/full/deviceFuelDrop.vm +++ b/templates/full/deviceFuelDrop.vm @@ -3,7 +3,7 @@ Device: $device.name
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Point: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
diff --git a/templates/full/deviceMoving.vm b/templates/full/deviceMoving.vm index 6e98af1de..37f3c2a93 100644 --- a/templates/full/deviceMoving.vm +++ b/templates/full/deviceMoving.vm @@ -4,7 +4,7 @@ Device: $device.name
Moving
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Point: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
diff --git a/templates/full/deviceOffline.vm b/templates/full/deviceOffline.vm index 1f6d02fb2..c832ee553 100644 --- a/templates/full/deviceOffline.vm +++ b/templates/full/deviceOffline.vm @@ -4,7 +4,7 @@ Device: $device.name
Offline
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Link: $webUrl?eventId=$event.id diff --git a/templates/full/deviceOnline.vm b/templates/full/deviceOnline.vm index 9211eff11..fd17edef0 100644 --- a/templates/full/deviceOnline.vm +++ b/templates/full/deviceOnline.vm @@ -4,7 +4,7 @@ Device: $device.name
Online
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Link: $webUrl?eventId=$event.id diff --git a/templates/full/deviceOverspeed.vm b/templates/full/deviceOverspeed.vm index e5e576f3a..f796881a0 100644 --- a/templates/full/deviceOverspeed.vm +++ b/templates/full/deviceOverspeed.vm @@ -13,7 +13,7 @@ Device: $device.name
Exceeds the speed: $speedString#{if}($geofence) in $geofence.name#{else}#{end}
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Point: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
diff --git a/templates/full/deviceStopped.vm b/templates/full/deviceStopped.vm index 2ec0f8db9..9e1e47d12 100644 --- a/templates/full/deviceStopped.vm +++ b/templates/full/deviceStopped.vm @@ -4,7 +4,7 @@ Device: $device.name
Stopped
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Point: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
diff --git a/templates/full/deviceUnknown.vm b/templates/full/deviceUnknown.vm index 34fa01a8a..34b3a7795 100644 --- a/templates/full/deviceUnknown.vm +++ b/templates/full/deviceUnknown.vm @@ -4,7 +4,7 @@ Device: $device.name
Status is unknown
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Link: $webUrl?eventId=$event.id diff --git a/templates/full/driverChanged.vm b/templates/full/driverChanged.vm index ba1e68661..e370d3eea 100644 --- a/templates/full/driverChanged.vm +++ b/templates/full/driverChanged.vm @@ -3,7 +3,7 @@ Device: $device.name
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Point: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
Driver: #{if}($driver)$driver.name#{else}$event.getString("driverUniqueId")#{end} diff --git a/templates/full/geofenceEnter.vm b/templates/full/geofenceEnter.vm index e83a0de62..9e00cb388 100644 --- a/templates/full/geofenceEnter.vm +++ b/templates/full/geofenceEnter.vm @@ -4,7 +4,7 @@ Device: $device.name
Has entered geofence: $geofence.name
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Point: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
diff --git a/templates/full/geofenceExit.vm b/templates/full/geofenceExit.vm index 3557f6eb2..c3a300f37 100644 --- a/templates/full/geofenceExit.vm +++ b/templates/full/geofenceExit.vm @@ -4,7 +4,7 @@ Device: $device.name
Has exited geofence: $geofence.name
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Point: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
diff --git a/templates/full/ignitionOff.vm b/templates/full/ignitionOff.vm index 0281eef02..8a546ed29 100644 --- a/templates/full/ignitionOff.vm +++ b/templates/full/ignitionOff.vm @@ -4,7 +4,7 @@ Device: $device.name
Ignition OFF
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Point: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
diff --git a/templates/full/ignitionOn.vm b/templates/full/ignitionOn.vm index 27135a7f0..9ae9a63e7 100644 --- a/templates/full/ignitionOn.vm +++ b/templates/full/ignitionOn.vm @@ -4,7 +4,7 @@ Device: $device.name
Ignition ON
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Point: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
diff --git a/templates/full/maintenance.vm b/templates/full/maintenance.vm index c6973f97a..612a675f8 100644 --- a/templates/full/maintenance.vm +++ b/templates/full/maintenance.vm @@ -4,7 +4,7 @@ Device: $device.name
Maintenance is required: $maintenance.name
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Point: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
diff --git a/templates/full/textMessage.vm b/templates/full/textMessage.vm index 174173c85..a20dddbe0 100644 --- a/templates/full/textMessage.vm +++ b/templates/full/textMessage.vm @@ -4,6 +4,6 @@ Device: $device.name
Message: $event.getString("message")
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
-- cgit v1.2.3