aboutsummaryrefslogtreecommitdiff
path: root/templates/mail/alarm.vm
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-12-10 13:09:45 +0500
committerAbyss777 <abyss@fox5.ru>2016-12-10 13:09:45 +0500
commit50ca72b3249bece77434a8d5151577dcd8867697 (patch)
tree889fc63b04191a5e0af129c14c09579fb761b1e9 /templates/mail/alarm.vm
parent17dc43290bb821c77eaaf196e4c6fef4d5c1a343 (diff)
downloadtrackermap-server-50ca72b3249bece77434a8d5151577dcd8867697.tar.gz
trackermap-server-50ca72b3249bece77434a8d5151577dcd8867697.tar.bz2
trackermap-server-50ca72b3249bece77434a8d5151577dcd8867697.zip
- Use URL builder
- Use Curly braces in templates
Diffstat (limited to 'templates/mail/alarm.vm')
-rw-r--r--templates/mail/alarm.vm2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mail/alarm.vm b/templates/mail/alarm.vm
index 03cd31646..1d2b4fdf8 100644
--- a/templates/mail/alarm.vm
+++ b/templates/mail/alarm.vm
@@ -5,6 +5,6 @@
Device: $device.name<br>
Alarm: $position.getString("alarm")<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>
+Point: <a href="$webUrl?eventId=$event.id">#{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}</a><br>
</body>
</html>