equal
deleted
inserted
replaced
15 {% load forms_helpers %} |
15 {% load forms_helpers %} |
16 |
16 |
17 {% block scripts %} |
17 {% block scripts %} |
18 {{ block.super }} |
18 {{ block.super }} |
19 {% if gmaps_api_key %} |
19 {% if gmaps_api_key %} |
20 <script src="http://maps.google.com/maps?file=api&v=2&key={{ gmaps_api_key }}" type="text/javascript"></script> |
20 <script src="http://www.google.com/jsapi?key={{ gmaps_api_key }}" type="text/javascript"></script> |
21 <script type="text/javascript" src="/soc/content/js/map-090917.js"></script> |
21 <script type="text/javascript" src="/soc/content/js/templates/soc/role/edit-091027.js"></script> |
22 {% endif %} |
22 {% endif %} |
23 {% endblock %} |
23 {% endblock %} |
24 |
24 |
25 {% block body_tag %} |
25 {% block body_tag %} |
26 {% if gmaps_api_key %} |
26 {{ block.super }} |
27 <body onLoad="role_profile_gmap.map_load()" onunload="GUnload()"> |
|
28 {% else %} |
|
29 {{ block.super }} |
|
30 {% endif %} |
|
31 {% endblock %} |
27 {% endblock %} |
32 |
28 |
33 {% block instructions %} |
29 {% block instructions %} |
34 {{ block.super }} |
30 {{ block.super }} |
35 {% if not gmaps_api_key %} |
31 {% if not gmaps_api_key %} |