summaryrefslogtreecommitdiff
path: root/templates/main_map.html
diff options
context:
space:
mode:
authoretienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864>2009-11-24 00:36:13 +0000
committeretienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864>2009-11-24 00:36:13 +0000
commit6c847e3c20d75f91525733e959f00098840dbc6d (patch)
tree57ff1031c73006b3d6a58f148efd48cded74c2b9 /templates/main_map.html
parent128a8cf8e2d7238dea16b1ffac507eb2b7c6c6c5 (diff)
downloadChimère-6c847e3c20d75f91525733e959f00098840dbc6d.tar.bz2
Chimère-6c847e3c20d75f91525733e959f00098840dbc6d.zip
Provide a description for categories - #61
git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@41 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864
Diffstat (limited to 'templates/main_map.html')
-rw-r--r--templates/main_map.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/main_map.html b/templates/main_map.html
index 882e0f2..164d0ae 100644
--- a/templates/main_map.html
+++ b/templates/main_map.html
@@ -17,6 +17,7 @@ lst_{{category.id}}.push("{{sub_category.id}}");{% endfor %}
<img alt='{{sub_category.name}}' src='{{media_path}}{{sub_category.icon.image}}'/>
{% trans sub_category.name %}</label>
<img class='zoom_image' alt='{% trans "Zoom to" %} {{sub_category.name}}' src='{{media_path}}icons/zoom.png' onclick='zoomToCategory({{sub_category.id}})'/></li>{% endfor %}
+ {%if category.description%}<li><a href='#' onclick='displayCategoryDetail({{category.id}});'>{%trans "Tell me more..."%}</a></li>{%endif%}
</ul>
</li>{% endfor %}
<li id='display_submited'><input type='checkbox' onclick='loadGeoObjects()' name='display_submited' id='display_submited_check'/> {% trans "Display markers and routes waiting for validation"%}</li>
@@ -32,6 +33,9 @@ lst_{{category.id}}.push("{{sub_category.id}}");{% endfor %}
<div id='detail'>
</div>
+<div id='category_detail'>
+</div>
+
{{welcome}}{% endblock %}
{% block content %}<div id='map'></div>
<script type='text/javascript'><!--