comparison gpp/templates/membermap/index.html @ 310:daa2916f5b34

Fixing 145; New url tag behavior (forwards compatibility) in Django 1.3.
author Brian Neal <bgneal@gmail.com>
date Thu, 20 Jan 2011 04:03:48 +0000
parents 6a5549c2efb5
children 88b2b9cb8c1f
comparison
equal deleted inserted replaced
309:8a0bae48b6ca 310:daa2916f5b34
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load url from future %}
2 {% load core_tags %} 3 {% load core_tags %}
3 {% block title %}Member Map{% endblock %} 4 {% block title %}Member Map{% endblock %}
4 {% block custom_js %} 5 {% block custom_js %}
5 <script type="text/javascript" src="{{ MEDIA_URL }}js/membermap.js"></script> 6 <script type="text/javascript" src="{{ MEDIA_URL }}js/membermap.js"></script>
6 <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAql_1Xw9MGW3mOxzo8gLb3hSrh5-ALlu4lmYDsscYaAokjyRNqBRaVcqVr3jaDgMRVSK_3HydK9tYWw" type="text/javascript"></script> 7 <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAql_1Xw9MGW3mOxzo8gLb3hSrh5-ALlu4lmYDsscYaAokjyRNqBRaVcqVr3jaDgMRVSK_3HydK9tYWw" type="text/javascript"></script>
59 <br /> 60 <br />
60 {% else %} 61 {% else %}
61 <p> 62 <p>
62 The member map allows members to place themselves on a google map along with a short message. 63 The member map allows members to place themselves on a google map along with a short message.
63 This feature is only for registered users of SurfGuitar101.com. Please 64 This feature is only for registered users of SurfGuitar101.com. Please
64 <a href="{% url accounts-login %}">login</a> or 65 <a href="{% url 'accounts-login' %}">login</a> or
65 <a href="{% url accounts-register %}">register</a> to use the member map. 66 <a href="{% url 'accounts-register' %}">register</a> to use the member map.
66 </p> 67 </p>
67 {% endif %} 68 {% endif %}
68 </div> 69 </div>
69 </div> 70 </div>
70 {% endblock %} 71 {% endblock %}