diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-18 21:05:09 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-18 21:05:09 +1200 |
commit | d8e9e8b26239499a87440ecc6a611b82f07986a7 (patch) | |
tree | 1997ed83e78d6527187555f7fcd8c0bcbf11fd1d | |
parent | 3aaaa1de76612e26c6d25f930d94fdf4ee810d7d (diff) | |
download | trackermap-server-d8e9e8b26239499a87440ecc6a611b82f07986a7.tar.gz trackermap-server-d8e9e8b26239499a87440ecc6a611b82f07986a7.tar.bz2 trackermap-server-d8e9e8b26239499a87440ecc6a611b82f07986a7.zip |
Add fuel drop event templates
-rw-r--r-- | templates/mail/deviceFuelDrop.vm | 9 | ||||
-rw-r--r-- | templates/sms/deviceFuelDrop.vm | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/templates/mail/deviceFuelDrop.vm b/templates/mail/deviceFuelDrop.vm new file mode 100644 index 000000000..c30ec3a1c --- /dev/null +++ b/templates/mail/deviceFuelDrop.vm @@ -0,0 +1,9 @@ +#set($subject = "$device.name: fuel drop") +<!DOCTYPE html> +<html> +<body> +Device: $device.name<br> +Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)<br> +Point: <a href="$webUrl?eventId=$event.id">#{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}</a><br> +</body> +</html> diff --git a/templates/sms/deviceFuelDrop.vm b/templates/sms/deviceFuelDrop.vm new file mode 100644 index 000000000..5e51396d4 --- /dev/null +++ b/templates/sms/deviceFuelDrop.vm @@ -0,0 +1 @@ +$device.name fuel drop at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone) |