fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
polishing map fixes
[wolnelektury.git]
/
src
/
references
/
templates
/
references
/
map.html
diff --git
a/src/references/templates/references/map.html
b/src/references/templates/references/map.html
index
04d3e80
..
b182b9c
100644
(file)
--- a/
src/references/templates/references/map.html
+++ b/
src/references/templates/references/map.html
@@
-1,4
+1,5
@@
{% extends "2022/base.html" %}
{% extends "2022/base.html" %}
+{% load cache %}
{% load static %}
{% load l10n %}
{% load static %}
{% load l10n %}
@@
-55,6
+56,7
@@
);
}
);
}
+ {% cache 60 references-map %}
{% localize off %}
{% for e in entities %}
L.marker(
{% localize off %}
{% for e in entities %}
L.marker(
@@
-67,6
+69,7
@@
).on('click', showMarker).addTo(markers);
{% endfor %}
{% endlocalize %}
).on('click', showMarker).addTo(markers);
{% endfor %}
{% endlocalize %}
+ {% endcache %}
map.addLayer(markers);
map.addLayer(markers);