# HG changeset patch # User Lennard de Rijk # Date 1249249542 -7200 # Node ID f1e2afcde89fe960cf9b7bc81526a15c74fc54bd # Parent ee7eb60b4fd3c59c56b65edea127bc5410fea8e4 Fixed Org home view map to only appear when projects have been announced. diff -r ee7eb60b4fd3 -r f1e2afcde89f app/soc/templates/soc/organization/home.html --- a/app/soc/templates/soc/organization/home.html Sun Aug 02 22:39:47 2009 +0200 +++ b/app/soc/templates/soc/organization/home.html Sun Aug 02 23:45:42 2009 +0200 @@ -38,19 +38,15 @@ {% endif %} {% endblock %} {% block home_extras %} -{% for list_number in list.lists %} -

- {% include list.nextList %} -

-{% endfor %}
{% for list_number in list.lists %}

{% include list.nextList %}

{% endfor %} - {% if gmaps_api_key %} -
- {% endif %} + + {% if gmaps_api_key and org_map_data %} +
+ {% endif %}
{% endblock %}