diff options
author | luxagraf <sng@luxagraf.net> | 2018-09-27 11:33:59 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-09-27 11:33:59 -0500 |
commit | 1596c642731e5839da942c7727bbc1fa8016fdee (patch) | |
tree | c8630e2332d4e40a3335a67f1931462eb020c700 /design/templates/archives/map_data.html | |
parent | efabaed1ef7ec2baafabed9dfd3c08dc192d98bd (diff) |
version 9 of stylesheet
Diffstat (limited to 'design/templates/archives/map_data.html')
-rw-r--r-- | design/templates/archives/map_data.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/archives/map_data.html b/design/templates/archives/map_data.html index 8e9c6d0..ef3a4c4 100644 --- a/design/templates/archives/map_data.html +++ b/design/templates/archives/map_data.html @@ -524,6 +524,6 @@ L.tileLayer.provider('Esri.WorldTopoMap', {maxZoom: 18,attribution: 'Map data &c //loop through and set up markers/info windows {% for entry in object_list %} -L.marker([{{entry.latitude}}, {{entry.longitude}}]).bindPopup('<div class="infowin"><h4>{{entry.title}}<\/h4><span class="date blok">{{entry.pub_date|date:"F j, Y"}} ({% if entry.location.state.country.name == "United States" %}{{entry.location.name|smartypants|safe}}, {{entry.location.state.name}}){%else%}{{entry.location.name|smartypants|safe}}, {{entry.location.state.country.name}}){%endif%}<\/span><p><img src="{{entry.get_thumbnail_url}}" height="100" alt="{{ entry.title }}" style="float: left; border: #000 10px solid; margin-right: 8px; margin-bottom: 4px; height: 100px;" \/>{{entry.dek|escapejs}} <a href="{{entry.get_absolute_url}}">Read it »<\/a><\/p><\/div>').addTo(map); +L.marker([{{entry.latitude}}, {{entry.longitude}}]).bindPopup('<div class="infowin"><h4>{{entry.title}}<\/h4><span class="date blok">{{entry.pub_date|date:"F j, Y"}} ({% if entry.location.state.country.name == "United States" %}{{entry.location.name|smartypants|safe}}, {{entry.location.state.name}}){%else%}{{entry.location.name|smartypants|safe}}, {{entry.location.state.country.name}}){%endif%}<\/span><p><img src="{{entry.get_featured_image_thumb}}" height="100" alt="{{ entry.title }}" style="float: left; border: #000 10px solid; margin-right: 8px; margin-bottom: 4px; height: 100px;" \/>{{entry.dek|escapejs}} <a href="{{entry.get_absolute_url}}">Read it »<\/a><\/p><\/div>').addTo(map); {% endfor %} |