File tree Expand file tree Collapse file tree 5 files changed +10
-6
lines changed
leaflet/templates/leaflet Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
- {% load static i18n %}
1
+ {% load i18n %}
2
+ {% load static from staticfiles %}
2
3
{% if creatediv %}< div id ="{{ name }} " class ="leaflet-container-default "> </ div > {% endif %}
3
4
< script type ="text/javascript ">
4
5
( function ( ) {
Original file line number Diff line number Diff line change 1
1
{% extends "leaflet/widget.html" %}
2
- {% load i18n static %}
2
+ {% load i18n %}
3
+ {% load static from staticfiles %}
3
4
4
5
5
6
{% block map_css %}
Original file line number Diff line number Diff line change 1
- {% load static %}
1
+ {% load static from staticfiles %}
2
2
< link rel ="stylesheet " href ="{% static "leaflet /leaflet.css" %}" />
3
3
<!--[if lte IE 8]>
4
4
<link rel="stylesheet" href="{% static "leaflet/leaflet.ie.css" %}" />
Original file line number Diff line number Diff line change 1
- {% load i18n static %}
1
+ {% load i18n %}
2
+ {% load static from staticfiles %}
2
3
< script src ="{% get_static_prefix %}leaflet/leaflet{% if DEBUG %}-src{% endif %}.js " type ="text/javascript "> </ script >
3
4
{% if SRID %}
4
5
< script src ="{% static "leaflet /proj4js.js" %}" type="text/javascript "> </ script >
15
16
{ % if with_forms % } { % include "leaflet/_leaflet_draw_i18n.js" % } { % endif % }
16
17
L . Control . ResetView . TITLE = "{% trans " Reset view " %}" ;
17
18
L . Control . ResetView . ICON = "url({% static " leaflet / images / reset - view . png " %})" ;
18
- </ script >
19
+ </ script >
Original file line number Diff line number Diff line change 1
- {% load static leaflet_tags %}
1
+ {% load leaflet_tags %}
2
+ {% load static from staticfiles %}
2
3
3
4
< style type ="text/css "> {% block map_css %}
4
5
{% if map_width and map_height %}# {{ id_map }} { width: {{ map_width }}; height: {{ map_height }}; }{% endif %}
You can’t perform that action at this time.
0 commit comments