aboutsummaryrefslogtreecommitdiff
path: root/templates/sms
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2018-06-26 12:05:16 +0500
committerAbyss777 <abyss@fox5.ru>2018-06-26 12:05:16 +0500
commit825ee0d178a24620f075cb4ffb8d49c75b046484 (patch)
tree2bc60aaea8d4c1eff707ae6e0b8ff558d45d15dc /templates/sms
parentaba402226403f8b3eb58cc01e8f536eb4104d35a (diff)
downloadtrackermap-server-825ee0d178a24620f075cb4ffb8d49c75b046484.tar.gz
trackermap-server-825ee0d178a24620f075cb4ffb8d49c75b046484.tar.bz2
trackermap-server-825ee0d178a24620f075cb4ffb8d49c75b046484.zip
Cleanup and some adjustments
Diffstat (limited to 'templates/sms')
-rw-r--r--templates/sms/alarm.vm1
-rw-r--r--templates/sms/commandResult.vm1
-rw-r--r--templates/sms/deviceFuelDrop.vm1
-rw-r--r--templates/sms/deviceMoving.vm1
-rw-r--r--templates/sms/deviceOffline.vm1
-rw-r--r--templates/sms/deviceOnline.vm1
-rw-r--r--templates/sms/deviceOverspeed.vm10
-rw-r--r--templates/sms/deviceStopped.vm1
-rw-r--r--templates/sms/deviceUnknown.vm1
-rw-r--r--templates/sms/driverChanged.vm6
-rw-r--r--templates/sms/geofenceEnter.vm1
-rw-r--r--templates/sms/geofenceExit.vm1
-rw-r--r--templates/sms/ignitionOff.vm1
-rw-r--r--templates/sms/ignitionOn.vm1
-rw-r--r--templates/sms/maintenance.vm1
-rw-r--r--templates/sms/test.vm1
-rw-r--r--templates/sms/textMessage.vm1
-rw-r--r--templates/sms/unknown.vm1
18 files changed, 0 insertions, 32 deletions
diff --git a/templates/sms/alarm.vm b/templates/sms/alarm.vm
deleted file mode 100644
index 389341cf1..000000000
--- a/templates/sms/alarm.vm
+++ /dev/null
@@ -1 +0,0 @@
-$device.name alarm: $position.getString("alarm") at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
diff --git a/templates/sms/commandResult.vm b/templates/sms/commandResult.vm
deleted file mode 100644
index 4a327d850..000000000
--- a/templates/sms/commandResult.vm
+++ /dev/null
@@ -1 +0,0 @@
-$device.name command result received: $position.getString("result") at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
diff --git a/templates/sms/deviceFuelDrop.vm b/templates/sms/deviceFuelDrop.vm
deleted file mode 100644
index 5e51396d4..000000000
--- a/templates/sms/deviceFuelDrop.vm
+++ /dev/null
@@ -1 +0,0 @@
-$device.name fuel drop at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
diff --git a/templates/sms/deviceMoving.vm b/templates/sms/deviceMoving.vm
deleted file mode 100644
index aaa72ab0d..000000000
--- a/templates/sms/deviceMoving.vm
+++ /dev/null
@@ -1 +0,0 @@
-$device.name moving at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
diff --git a/templates/sms/deviceOffline.vm b/templates/sms/deviceOffline.vm
deleted file mode 100644
index 8c4a02335..000000000
--- a/templates/sms/deviceOffline.vm
+++ /dev/null
@@ -1 +0,0 @@
-$device.name offline at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
diff --git a/templates/sms/deviceOnline.vm b/templates/sms/deviceOnline.vm
deleted file mode 100644
index 62854feb0..000000000
--- a/templates/sms/deviceOnline.vm
+++ /dev/null
@@ -1 +0,0 @@
-$device.name online at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
diff --git a/templates/sms/deviceOverspeed.vm b/templates/sms/deviceOverspeed.vm
deleted file mode 100644
index 5e92f662c..000000000
--- a/templates/sms/deviceOverspeed.vm
+++ /dev/null
@@ -1,10 +0,0 @@
-#if($speedUnit == 'kmh')
-#set($speedValue = $position.speed * 1.852)
-#set($speedString = $numberTool.format("0.0 km/h", $speedValue))
-#elseif($speedUnit == 'mph')
-#set($speedValue = $position.speed * 1.15078)
-#set($speedString = $numberTool.format("0.0 mph", $speedValue))
-#else
-#set($speedString = $numberTool.format("0.0 kn", $position.speed))
-#end
-$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)
diff --git a/templates/sms/deviceStopped.vm b/templates/sms/deviceStopped.vm
deleted file mode 100644
index c2437b5f6..000000000
--- a/templates/sms/deviceStopped.vm
+++ /dev/null
@@ -1 +0,0 @@
-$device.name stopped at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
diff --git a/templates/sms/deviceUnknown.vm b/templates/sms/deviceUnknown.vm
deleted file mode 100644
index 07f39f3a9..000000000
--- a/templates/sms/deviceUnknown.vm
+++ /dev/null
@@ -1 +0,0 @@
-$device.name status is unknown at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
diff --git a/templates/sms/driverChanged.vm b/templates/sms/driverChanged.vm
deleted file mode 100644
index 50849df7c..000000000
--- a/templates/sms/driverChanged.vm
+++ /dev/null
@@ -1,6 +0,0 @@
-#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/geofenceEnter.vm b/templates/sms/geofenceEnter.vm
deleted file mode 100644
index debdbf356..000000000
--- a/templates/sms/geofenceEnter.vm
+++ /dev/null
@@ -1 +0,0 @@
-$device.name has entered geofence $geofence.name at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
diff --git a/templates/sms/geofenceExit.vm b/templates/sms/geofenceExit.vm
deleted file mode 100644
index 8553458f7..000000000
--- a/templates/sms/geofenceExit.vm
+++ /dev/null
@@ -1 +0,0 @@
-$device.name has exited geofence $geofence.name at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
diff --git a/templates/sms/ignitionOff.vm b/templates/sms/ignitionOff.vm
deleted file mode 100644
index ddf860413..000000000
--- a/templates/sms/ignitionOff.vm
+++ /dev/null
@@ -1 +0,0 @@
-$device.name ignition OFF at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
diff --git a/templates/sms/ignitionOn.vm b/templates/sms/ignitionOn.vm
deleted file mode 100644
index 00b365be9..000000000
--- a/templates/sms/ignitionOn.vm
+++ /dev/null
@@ -1 +0,0 @@
-$device.name ignition ON at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
diff --git a/templates/sms/maintenance.vm b/templates/sms/maintenance.vm
deleted file mode 100644
index 621beae46..000000000
--- a/templates/sms/maintenance.vm
+++ /dev/null
@@ -1 +0,0 @@
-$device.name maintenance $maintenance.name is required at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
diff --git a/templates/sms/test.vm b/templates/sms/test.vm
deleted file mode 100644
index d25f218ce..000000000
--- a/templates/sms/test.vm
+++ /dev/null
@@ -1 +0,0 @@
-Test message
diff --git a/templates/sms/textMessage.vm b/templates/sms/textMessage.vm
deleted file mode 100644
index dc42f29f1..000000000
--- a/templates/sms/textMessage.vm
+++ /dev/null
@@ -1 +0,0 @@
-Text message received from $device.name at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
diff --git a/templates/sms/unknown.vm b/templates/sms/unknown.vm
deleted file mode 100644
index fd20b50cc..000000000
--- a/templates/sms/unknown.vm
+++ /dev/null
@@ -1 +0,0 @@
-Unknown type