aboutsummaryrefslogtreecommitdiff
path: root/templates/short/media.vm
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-18 18:25:49 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-18 18:25:49 -0700
commita61e08cb47b8294bf639ebdc0916ead031e92827 (patch)
tree35d06e71bec986c65ec79d245e349d2c9875a77e /templates/short/media.vm
parent9cccb2f86c5ecf4041772d28fbc78ddbd619885f (diff)
downloadtrackermap-server-a61e08cb47b8294bf639ebdc0916ead031e92827.tar.gz
trackermap-server-a61e08cb47b8294bf639ebdc0916ead031e92827.tar.bz2
trackermap-server-a61e08cb47b8294bf639ebdc0916ead031e92827.zip
Add media events (fix #3863)
Diffstat (limited to 'templates/short/media.vm')
-rw-r--r--templates/short/media.vm2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/short/media.vm b/templates/short/media.vm
new file mode 100644
index 000000000..783636f3f
--- /dev/null
+++ b/templates/short/media.vm
@@ -0,0 +1,2 @@
+#set($subject = "$device.name: media file received")
+$device.name $event.getString("media") received: $event.getString("file") at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)