annotate gpp/templates/forums/favorite_status.html @ 296:0eed8161ca39

Fixing #138. Shoutbox scroller breaks down if there aren't at least 2 things to scroll. Added some dummy shouts on the client side if the shout database is empty.
author Brian Neal <bgneal@gmail.com>
date Sun, 09 Jan 2011 20:53:00 +0000
parents 593fb6dbd449
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 %}