File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
leaflet/templates/leaflet Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
{% load leaflet_tags %}
2
- {% load static from staticfiles %}
2
+ {% load static from staticfiles l10n %}
3
3
4
4
< style type ="text/css "> {% block map_css %}
5
- {% if map_width and map_height %}# {{ id_map }} { width: {{ map_width }}; height: {{ map_height }}; }{% endif %}
5
+ {% if map_width and map_height %}# {{ id_map }} { width: {{ map_width|unlocalize }}; height: {{ map_height|unlocalize }}; }{% endif %}
6
6
{% if not dis play_raw %}# {{ id_css }} { dis play: none; }{% endif %}
7
7
{% endblock map_css %}
8
8
</ style >
12
12
{ { module } } . fieldid = '{{ id_css }}' ;
13
13
{ { module } } . modifiable = { { modifiable | yesno :"true,false" } } ;
14
14
{ { module } } . geom_type = '{{ geom_type }}' ;
15
- { { module } } . srid = { { map_srid } } ;
15
+ { { module } } . srid = { { map_srid | unlocalize } } ;
16
16
{ % endblock vars % }
17
17
18
18
function { { id_map_callback } } ( map , options ) {
You can’t perform that action at this time.
0 commit comments