aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-10-04 08:16:10 +0800
committerAnton Tananaev <anton@traccar.org>2023-10-04 08:16:10 +0800
commit6c78fc675501ab348f877e423b984d1a2a132ef1 (patch)
treea1cc3d14aeaa239ffa71b402bd786dbdb62dba10 /templates
parenta10728fc9174591c4535b5ced290f7b51ec98851 (diff)
downloadtrackermap-server-6c78fc675501ab348f877e423b984d1a2a132ef1.tar.gz
trackermap-server-6c78fc675501ab348f877e423b984d1a2a132ef1.tar.bz2
trackermap-server-6c78fc675501ab348f877e423b984d1a2a132ef1.zip
Event for sent queued commands
Diffstat (limited to 'templates')
-rw-r--r--templates/full/queuedCommandSent.vm11
-rw-r--r--templates/short/queuedCommandSent.vm2
2 files changed, 13 insertions, 0 deletions
diff --git a/templates/full/queuedCommandSent.vm b/templates/full/queuedCommandSent.vm
new file mode 100644
index 000000000..148dd2094
--- /dev/null
+++ b/templates/full/queuedCommandSent.vm
@@ -0,0 +1,11 @@
+#set($subject = "$device.name: queued command sent")
+<!DOCTYPE html>
+<html>
+<body>
+Device: $device.name<br>
+Queued command sent<br>
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)<br>
+<br>
+<a href="$webUrl/settings/notifications?token=$token">Unsubscribe</a>
+</body>
+</html>
diff --git a/templates/short/queuedCommandSent.vm b/templates/short/queuedCommandSent.vm
new file mode 100644
index 000000000..67f031280
--- /dev/null
+++ b/templates/short/queuedCommandSent.vm
@@ -0,0 +1,2 @@
+#set($subject = "$device.name: queued command sent")
+Queued command sent to $device.name at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)