# HG changeset patch # User Lennard de Rijk # Date 1240331072 0 # Node ID 6519029b444fbfd0b32e0f4b8a1979a77dad2b68 # Parent 543f11d7b0e46444ce9738ad240976dbd5ddfa34 Added map of accepted student proposals to mentors to the org home page. Patch by: Madhusudan C.S Reviewed by: Lennard de Rijk diff -r 543f11d7b0e4 -r 6519029b444f app/soc/content/css/soc-090418.css --- a/app/soc/content/css/soc-090418.css Tue Apr 21 16:24:13 2009 +0000 +++ b/app/soc/content/css/soc-090418.css Tue Apr 21 16:24:32 2009 +0000 @@ -334,6 +334,31 @@ width: 320px; } +#org_home_extras { + position: relative; + margin:2em 0em 2em; + min-height:500px; +} + +#extras_left { + position: absolute; + width: 55%; + left: 0px; +} + +#extras_right { + position: absolute; + width: 43%; + right: 0px; + float: right; +} + +/* Organization home gmap */ +#org_home_map { + height: 500px; + width: 500px; +} + /* SIDEBAR MENU */ #side { width: 200px; diff -r 543f11d7b0e4 -r 6519029b444f app/soc/templates/soc/organization/home.html --- a/app/soc/templates/soc/organization/home.html Tue Apr 21 16:24:13 2009 +0000 +++ b/app/soc/templates/soc/organization/home.html Tue Apr 21 16:24:32 2009 +0000 @@ -13,11 +13,44 @@ limitations under the License. {% endcomment %} -{% block body %} - {{ block.super }} +{% block scripts %} +{{ block.super }} +{% if gmaps_api_key %} + + +{% endif %} +{% endblock %} + +{% block body_tag %} + {% if gmaps_api_key %} + + {% else %} + {{ block.super }} + {% endif %} +{% endblock %} + +{% block instructions %} +{{ block.super }} +{% if not gmaps_api_key %} +
Google Maps API key not present. +Please insert your key in Site Settings, Google Maps field. + +{% endif %} +{% endblock %} + +{% block home_extras %} +
+
{% for list_number in list.lists %}

{% include list.nextList %}

{% endfor %} +
+
+ {% if gmaps_api_key %} +
+ {% endif %} +
+
{% endblock %} diff -r 543f11d7b0e4 -r 6519029b444f app/soc/templates/soc/presence/home.html --- a/app/soc/templates/soc/presence/home.html Tue Apr 21 16:24:13 2009 +0000 +++ b/app/soc/templates/soc/presence/home.html Tue Apr 21 16:24:32 2009 +0000 @@ -55,6 +55,7 @@ This is the default home page, it can be edited via Edit {{ entity_type }} Settings.
{% endblock %} {% endif %} + {% block home_extras %}{% endblock %} {% if entity.feed_url %}
{% endif %}