aboutsummaryrefslogtreecommitdiff
path: root/templates/mail/deviceMoving.vm
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-10 22:01:16 +1300
committerGitHub <noreply@github.com>2016-12-10 22:01:16 +1300
commit0d23a4eb3ef7a84dbfba3bf55ed70f427ccfe02f (patch)
tree8353ba016b4fbf1eb982b7e309bcda7e9e7b292b /templates/mail/deviceMoving.vm
parent8af8f58f89c103169008f3aa41207ac4041f5c0f (diff)
parent50ca72b3249bece77434a8d5151577dcd8867697 (diff)
downloadtraccar-server-0d23a4eb3ef7a84dbfba3bf55ed70f427ccfe02f.tar.gz
traccar-server-0d23a4eb3ef7a84dbfba3bf55ed70f427ccfe02f.tar.bz2
traccar-server-0d23a4eb3ef7a84dbfba3bf55ed70f427ccfe02f.zip
Merge pull request #2668 from Abyss777/template_links
Added links to server in mail templates
Diffstat (limited to 'templates/mail/deviceMoving.vm')
-rw-r--r--templates/mail/deviceMoving.vm2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mail/deviceMoving.vm b/templates/mail/deviceMoving.vm
index 2a3c703b5..a946753e4 100644
--- a/templates/mail/deviceMoving.vm
+++ b/templates/mail/deviceMoving.vm
@@ -4,7 +4,7 @@
<body>
Device: $device.name<br>
Moving<br>
-Point: <a href="https://www.openstreetmap.org/?mlat=$position.latitude&mlon=$position.longitude#map=16/$position.latitude/$position.longitude">#if($position.address)$position.address#{else}$position.latitude°, $position.longitude°#end</a><br>
Time: $event.serverTime<br>
+Point: <a href="$webUrl?eventId=$event.id">#{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}</a><br>
</body>
</html>