diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2012-09-25 11:29:57 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2012-09-25 11:29:57 +0200 |
| commit | 9011ad55d6b87736a5c5ab8448ba2a089bfa6fdd (patch) | |
| tree | c548ddd76c6fe977236cb2079e1b2d1647e68be0 /chimere/templates | |
| parent | 087919acf3e4945313034715f045c686ae3c543b (diff) | |
| download | Chimère-9011ad55d6b87736a5c5ab8448ba2a089bfa6fdd.tar.bz2 Chimère-9011ad55d6b87736a5c5ab8448ba2a089bfa6fdd.zip | |
Templatetags: map_params -> map
Diffstat (limited to 'chimere/templates')
| -rw-r--r-- | chimere/templates/chimere/blocks/map.html (renamed from chimere/templates/chimere/blocks/map_params.html) | 4 | ||||
| -rw-r--r-- | chimere/templates/chimere/main_map.html | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/chimere/templates/chimere/blocks/map_params.html b/chimere/templates/chimere/blocks/map.html index 57ced90..7855bbf 100644 --- a/chimere/templates/chimere/blocks/map_params.html +++ b/chimere/templates/chimere/blocks/map.html @@ -1,4 +1,8 @@ {% load i18n %} +<div id='{{map_id}}'></div> +<script type="text/javascript"> + $("#{{map_id}}").show(); +</script> <script type="text/javascript"> {% if single_category %} $(function() {$('#panel').hide()});{% endif %} diff --git a/chimere/templates/chimere/main_map.html b/chimere/templates/chimere/main_map.html index 5a49e46..b87c31e 100644 --- a/chimere/templates/chimere/main_map.html +++ b/chimere/templates/chimere/main_map.html @@ -30,11 +30,7 @@ {% endblock %} {% block content %} {{block.super}} - <div id='main-map'></div> -<script type="text/javascript"> - $("#main-map").show(); -</script> - {% map_params %} + {% map 'main-map' %} {% endblock %} {% block footer %} <p class='map-footer'>{% include "chimere/blocks/footer.html" %}</p> |
