aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/notification/NotificationFormatter.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-12-09 08:45:18 +0500
committerAbyss777 <abyss@fox5.ru>2016-12-09 13:35:17 +0500
commit17dc43290bb821c77eaaf196e4c6fef4d5c1a343 (patch)
tree3fa80a7297952701b95c022470209db207c04fc7 /src/org/traccar/notification/NotificationFormatter.java
parent50503c7108e580e5bc00d6c67055de273f476911 (diff)
downloadtrackermap-server-17dc43290bb821c77eaaf196e4c6fef4d5c1a343.tar.gz
trackermap-server-17dc43290bb821c77eaaf196e4c6fef4d5c1a343.tar.bz2
trackermap-server-17dc43290bb821c77eaaf196e4c6fef4d5c1a343.zip
Added links to server in mail templates
Diffstat (limited to 'src/org/traccar/notification/NotificationFormatter.java')
-rw-r--r--src/org/traccar/notification/NotificationFormatter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/notification/NotificationFormatter.java b/src/org/traccar/notification/NotificationFormatter.java
index 2d580922c..819c387d1 100644
--- a/src/org/traccar/notification/NotificationFormatter.java
+++ b/src/org/traccar/notification/NotificationFormatter.java
@@ -45,6 +45,7 @@ public final class NotificationFormatter {
if (event.getGeofenceId() != 0) {
velocityContext.put("geofence", Context.getGeofenceManager().getGeofence(event.getGeofenceId()));
}
+ velocityContext.put("webUrl", Context.getVelocityEngine().getProperty("web.url"));
Template template = null;
try {