Mercurial > public > sg101
annotate gpp/templates/forums/favorite_status.html @ 283:593fb6dbd449
Fixing #125. Developed a forums navigation template tag to consistently display forum navigation.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 04 Oct 2010 00:57:58 +0000 |
parents | a46788862737 |
children | daa2916f5b34 |
rev | line source |
---|---|
bgneal@232 | 1 {% extends 'base.html' %} |
bgneal@283 | 2 {% load forum_tags %} |
bgneal@232 | 3 {% block title %}Forums: Favorite Topics{% endblock %} |
bgneal@232 | 4 {% block content %} |
bgneal@283 | 5 {% forum_navigation topic "Favorite Topics Updated" %} |
bgneal@232 | 6 <p> |
bgneal@232 | 7 {% if is_favorite %} |
bgneal@232 | 8 The forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a> has been added to your |
bgneal@232 | 9 <a href="{% url forums-manage_favorites %}">favorites</a>. |
bgneal@232 | 10 {% else %} |
bgneal@232 | 11 The forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a> has been removed from your |
bgneal@232 | 12 <a href="{% url forums-manage_favorites %}">favorites</a>. |
bgneal@232 | 13 {% endif %} |
bgneal@232 | 14 </p> |
bgneal@232 | 15 <p> |
bgneal@232 | 16 To manage all your forum topic favorites, please visit your |
bgneal@232 | 17 <a href="{% url forums-manage_favorites %}">favorites page</a>. |
bgneal@232 | 18 </p> |
bgneal@232 | 19 {% endblock %} |