comparison 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
comparison
equal deleted inserted replaced
309:8a0bae48b6ca 310:daa2916f5b34
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load url from future %}
2 {% load forum_tags %} 3 {% load forum_tags %}
3 {% block title %}Forums: Favorite Topics{% endblock %} 4 {% block title %}Forums: Favorite Topics{% endblock %}
4 {% block content %} 5 {% block content %}
5 {% forum_navigation topic "Favorite Topics Updated" %} 6 {% forum_navigation topic "Favorite Topics Updated" %}
6 <p> 7 <p>
7 {% if is_favorite %} 8 {% if is_favorite %}
8 The forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a> has been added to your 9 The forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a> has been added to your
9 <a href="{% url forums-manage_favorites %}">favorites</a>. 10 <a href="{% url 'forums-manage_favorites' %}">favorites</a>.
10 {% else %} 11 {% else %}
11 The forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a> has been removed from your 12 The forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a> has been removed from your
12 <a href="{% url forums-manage_favorites %}">favorites</a>. 13 <a href="{% url 'forums-manage_favorites' %}">favorites</a>.
13 {% endif %} 14 {% endif %}
14 </p> 15 </p>
15 <p> 16 <p>
16 To manage all your forum topic favorites, please visit your 17 To manage all your forum topic favorites, please visit your
17 <a href="{% url forums-manage_favorites %}">favorites page</a>. 18 <a href="{% url 'forums-manage_favorites' %}">favorites page</a>.
18 </p> 19 </p>
19 {% endblock %} 20 {% endblock %}