Enable the map that shows the connections between mentors and students.
--- a/app/soc/templates/soc/organization/home.html Fri Jul 31 18:29:09 2009 +0200
+++ b/app/soc/templates/soc/organization/home.html Sat Aug 01 10:07:08 2009 +0200
@@ -49,10 +49,8 @@
{% include list.nextList %}
</p>
{% endfor %}
-{% comment %}
{% if gmaps_api_key %}
<div id="org_home_map"></div>
{% endif %}
-{% endcomment %}
</div>
{% endblock %}
--- a/app/soc/views/models/organization.py Fri Jul 31 18:29:09 2009 +0200
+++ b/app/soc/views/models/organization.py Sat Aug 01 10:07:08 2009 +0200
@@ -496,10 +496,8 @@
people[student_key_name]['projects'].append(project_key_name)
# combine the people and projects data into one JSON object
- data = {}
- # TODO: to enable map data uncomment the piece of code below
- #data = {'people': people,
- # 'projects': projects}
+ data = {'people': people,
+ 'projects': projects}
return simplejson.dumps(data)