diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-18 18:25:49 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-18 18:25:49 -0700 |
commit | a61e08cb47b8294bf639ebdc0916ead031e92827 (patch) | |
tree | 35d06e71bec986c65ec79d245e349d2c9875a77e /templates/full | |
parent | 9cccb2f86c5ecf4041772d28fbc78ddbd619885f (diff) | |
download | trackermap-server-a61e08cb47b8294bf639ebdc0916ead031e92827.tar.gz trackermap-server-a61e08cb47b8294bf639ebdc0916ead031e92827.tar.bz2 trackermap-server-a61e08cb47b8294bf639ebdc0916ead031e92827.zip |
Add media events (fix #3863)
Diffstat (limited to 'templates/full')
-rw-r--r-- | templates/full/media.vm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/full/media.vm b/templates/full/media.vm new file mode 100644 index 000000000..6651deffc --- /dev/null +++ b/templates/full/media.vm @@ -0,0 +1,11 @@ +#set($subject = "$device.name: media file received") +<!DOCTYPE html> +<html> +<body> +Device: $device.name<br> +Type: $event.getString("media")<br> +File: <a href="$webUrl/api/media/$device.uniqueId/$event.getString("file")">$event.getString("file")</a><br> +Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)<br> +Link: <a href="$webUrl?eventId=$event.id">$webUrl?eventId=$event.id</a> +</body> +</html> |