From fc5c57eb7f86795dd2fc083689b25edda36f096e Mon Sep 17 00:00:00 2001 From: Stephan Telling Date: Thu, 4 Aug 2016 17:17:16 +0200 Subject: [PATCH] Moved coords and address to popup on marker. Wrap old in noscript --- bornhack/templates/info.html | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/bornhack/templates/info.html b/bornhack/templates/info.html index 8fb93f0b..e81309d7 100644 --- a/bornhack/templates/info.html +++ b/bornhack/templates/info.html @@ -31,10 +31,12 @@ Info | {{ block.super }} Where is BornHack going to take place?
-

- Coordinates: 55.011520, 14.975360
- Address: Baunevej 11, 3720 Aakirkeby -

+ @@ -257,5 +259,9 @@ Info | {{ block.super }} var camp_latlong = [55.011520, 14.975360]; L.marker(camp_latlong).addTo(map); + + L.marker(camp_latlong).addTo(map) + .bindPopup('Coordinates:
55.011520, 14.975360
Address:
Baunevej 11, 3720 Aakirkeby') + .openPopup(); {% endblock %}