Mercurial > public > sg101
diff gpp/templates/forums/favorite_status.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 | 593fb6dbd449 |
children |
line wrap: on
line diff
--- a/gpp/templates/forums/favorite_status.html Mon Jan 17 04:00:59 2011 +0000 +++ b/gpp/templates/forums/favorite_status.html Thu Jan 20 04:03:48 2011 +0000 @@ -1,4 +1,5 @@ {% extends 'base.html' %} +{% load url from future %} {% load forum_tags %} {% block title %}Forums: Favorite Topics{% endblock %} {% block content %} @@ -6,14 +7,14 @@ <p> {% if is_favorite %} The forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a> has been added to your -<a href="{% url forums-manage_favorites %}">favorites</a>. +<a href="{% url 'forums-manage_favorites' %}">favorites</a>. {% else %} The forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a> has been removed from your -<a href="{% url forums-manage_favorites %}">favorites</a>. +<a href="{% url 'forums-manage_favorites' %}">favorites</a>. {% endif %} </p> <p> To manage all your forum topic favorites, please visit your -<a href="{% url forums-manage_favorites %}">favorites page</a>. +<a href="{% url 'forums-manage_favorites' %}">favorites page</a>. </p> {% endblock %}