app/soc/templates/soc/organization/home.html
changeset 3093 d1be59b6b627
parent 2939 415a7c2866fd
equal deleted inserted replaced
3092:beeb5d111318 3093:d1be59b6b627
    14 {% endcomment %}
    14 {% endcomment %}
    15 
    15 
    16 {% block scripts %}
    16 {% block scripts %}
    17 {{ block.super }}
    17 {{ block.super }}
    18 {% if gmaps_api_key %}
    18 {% if gmaps_api_key %}
    19 	<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key={{ gmaps_api_key }}" type="text/javascript"></script>
    19 	<script src="http://www.google.com/jsapi?key={{ gmaps_api_key }}" type="text/javascript"></script>
    20 	<script type="text/javascript" src="/soc/content/js/map-090917.js"></script>
    20 	<script type="text/javascript" src="/soc/content/js/templates/soc/organization/home-091027.js" melangeContext="{map_data: {{ org_map_data }} }"></script>
    21 {% endif %}
    21 {% endif %}
    22 {% endblock %}
    22 {% endblock %}
    23 
    23 
    24 {% block body_tag %}
    24 {% block body_tag %}
    25   {% if gmaps_api_key %}
    25   {{ block.super }}
    26     <body onLoad="org_home_gmap.map_load({{ org_map_data }})" onunload="GUnload()">
       
    27   {% else %}
       
    28     {{ block.super }}
       
    29   {% endif %}
       
    30 {% endblock %}
    26 {% endblock %}
    31 
    27 
    32 {% block instructions %}
    28 {% block instructions %}
    33 {{ block.super }}
    29 {{ block.super }}
    34 {% if not gmaps_api_key %}
    30 {% if not gmaps_api_key %}