diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-10 22:01:16 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-10 22:01:16 +1300 |
commit | 0d23a4eb3ef7a84dbfba3bf55ed70f427ccfe02f (patch) | |
tree | 8353ba016b4fbf1eb982b7e309bcda7e9e7b292b /templates/mail/alarm.vm | |
parent | 8af8f58f89c103169008f3aa41207ac4041f5c0f (diff) | |
parent | 50ca72b3249bece77434a8d5151577dcd8867697 (diff) | |
download | traccar-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/alarm.vm')
-rw-r--r-- | templates/mail/alarm.vm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mail/alarm.vm b/templates/mail/alarm.vm index 57b6ba9be..1d2b4fdf8 100644 --- a/templates/mail/alarm.vm +++ b/templates/mail/alarm.vm @@ -4,7 +4,7 @@ <body> Device: $device.name<br> Alarm: $position.getString("alarm")<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> |