aboutsummaryrefslogtreecommitdiff
path: root/templates/mail/ignitionOff.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/ignitionOff.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/ignitionOff.vm')
-rw-r--r--templates/mail/ignitionOff.vm2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mail/ignitionOff.vm b/templates/mail/ignitionOff.vm
index b45ecfca1..229405cca 100644
--- a/templates/mail/ignitionOff.vm
+++ b/templates/mail/ignitionOff.vm
@@ -4,7 +4,7 @@
<body>
Device: $device.name<br>
Ignition OFF<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>