summaryrefslogtreecommitdiff
path: root/templates/main_map.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/main_map.html')
-rw-r--r--templates/main_map.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/main_map.html b/templates/main_map.html
index 13d2e36..17ad9b7 100644
--- a/templates/main_map.html
+++ b/templates/main_map.html
@@ -24,6 +24,12 @@ lst_{{category.id}}.push("{{sub_category.id}}");{% endfor %}
</form>
</div>
+{%if areas%}<div id='areas'>
+<ul>{% for area in areas%}
+<li><img class='zoom_image' alt='{% trans "Zoom to" %} {{area.name}}' src='{{media_path}}icons/zoom.png' onclick='zoomToArea({{area.upper_left_corner.x}}, {{area.upper_left_corner.y}}, {{area.lower_right_corner.x}}, {{area.lower_right_corner.y}})'/> {{area.name}}</li>{%endfor%}
+</ul>
+</div>{%endif%}
+
<div id='detail'>
</div>
{{welcome}}{% endblock %}