aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/mail/driverChanged.vm (renamed from templates/mail/driverUnauthorized.vm)2
-rw-r--r--templates/sms/driverChanged.vm6
-rw-r--r--templates/sms/driverUnauthorized.vm6
3 files changed, 7 insertions, 7 deletions
diff --git a/templates/mail/driverUnauthorized.vm b/templates/mail/driverChanged.vm
index 3d28266cd..ba1e68661 100644
--- a/templates/mail/driverUnauthorized.vm
+++ b/templates/mail/driverChanged.vm
@@ -1,4 +1,4 @@
-#set($subject = "$device.name: driver unauthorized")
+#set($subject = "$device.name: driver has changed")
<!DOCTYPE html>
<html>
<body>
diff --git a/templates/sms/driverChanged.vm b/templates/sms/driverChanged.vm
new file mode 100644
index 000000000..50849df7c
--- /dev/null
+++ b/templates/sms/driverChanged.vm
@@ -0,0 +1,6 @@
+#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/driverUnauthorized.vm b/templates/sms/driverUnauthorized.vm
deleted file mode 100644
index 52c819eb8..000000000
--- a/templates/sms/driverUnauthorized.vm
+++ /dev/null
@@ -1,6 +0,0 @@
-#if($driver)
-#set($driverName = $driver.name)
-#else
-#set($driverName = $event.getString("driverUniqueId"))
-#end
-$driverName is unauthorized for $device.name at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)