# HG changeset patch
# User Lennard de Rijk
# Date 1249114028 -7200
# Node ID 3b11f9c24d6559f851b33f1df694d7aa32424de8
# Parent 5783338b2c8dca815731ce9c692875563e0cceca
Enable the map that shows the connections between mentors and students.
diff -r 5783338b2c8d -r 3b11f9c24d65 app/soc/templates/soc/organization/home.html
--- 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 %}
{% endfor %}
-{% comment %}
{% if gmaps_api_key %}
{% endif %}
-{% endcomment %}
{% endblock %}
diff -r 5783338b2c8d -r 3b11f9c24d65 app/soc/views/models/organization.py
--- 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)