aboutsummaryrefslogtreecommitdiff
path: root/templates/mail/deviceStopped.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/deviceStopped.vm
parent8af8f58f89c103169008f3aa41207ac4041f5c0f (diff)
parent50ca72b3249bece77434a8d5151577dcd8867697 (diff)
downloadtrackermap-server-0d23a4eb3ef7a84dbfba3bf55ed70f427ccfe02f.tar.gz
trackermap-server-0d23a4eb3ef7a84dbfba3bf55ed70f427ccfe02f.tar.bz2
trackermap-server-0d23a4eb3ef7a84dbfba3bf55ed70f427ccfe02f.zip
Merge pull request #2668 from Abyss777/template_links
Added links to server in mail templates
Diffstat (limited to 'templates/mail/deviceStopped.vm')
-rw-r--r--templates/mail/deviceStopped.vm2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mail/deviceStopped.vm b/templates/mail/deviceStopped.vm
index 003ce2e13..c36e6f1b6 100644
--- a/templates/mail/deviceStopped.vm
+++ b/templates/mail/deviceStopped.vm
@@ -4,7 +4,7 @@
<body>
Device: $device.name<br>
Stopped<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>