diff gpp/templates/gcalendar/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 dbd703f7d63a
children 88b2b9cb8c1f
line wrap: on
line diff
--- a/gpp/templates/gcalendar/index.html	Mon Jan 17 04:00:59 2011 +0000
+++ b/gpp/templates/gcalendar/index.html	Thu Jan 20 04:03:48 2011 +0000
@@ -1,4 +1,5 @@
 {% extends 'base.html' %}
+{% load url from future %}
 {% block title %}Event Calendar{% endblock %}
 {% block content %}
 <h2>SurfGuitar101 Event Calendar</h2>
@@ -10,10 +11,10 @@
 
 <ul>
 {% if user.is_authenticated %}
-   <li><a href="{% url gcalendar-add %}"><img src="{{ MEDIA_URL}}icons/calendar_add.png" alt="Add" /></a>
-      <a href="{% url gcalendar-add %}">Add an event to our calendar</a>.</li>
-   <li><a href="{% url gcalendar-edit_events %}"><img src="{{ MEDIA_URL}}icons/calendar_edit.png" alt="Edit" /></a>
-      <a href="{% url gcalendar-edit_events %}">Change or delete an event you previously added</a>.</li>
+   <li><a href="{% url 'gcalendar-add' %}"><img src="{{ MEDIA_URL}}icons/calendar_add.png" alt="Add" /></a>
+      <a href="{% url 'gcalendar-add' %}">Add an event to our calendar</a>.</li>
+   <li><a href="{% url 'gcalendar-edit_events' %}"><img src="{{ MEDIA_URL}}icons/calendar_edit.png" alt="Edit" /></a>
+      <a href="{% url 'gcalendar-edit_events' %}">Change or delete an event you previously added</a>.</li>
 {% endif %}
    <li>
 <a href="http://www.google.com/calendar/feeds/i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com/public/basic">