Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
282:39664e661c69 | 283:593fb6dbd449 |
---|---|
1 {% extends 'base.html' %} | 1 {% extends 'base.html' %} |
2 {% load forum_tags %} | |
2 {% block title %}Forums: Favorite Topics{% endblock %} | 3 {% block title %}Forums: Favorite Topics{% endblock %} |
3 {% block content %} | 4 {% block content %} |
4 <h2>Forums: Favorite Topics</h2> | 5 {% forum_navigation topic "Favorite Topics Updated" %} |
5 <h3> | |
6 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> » | |
7 <a href="{% url forums-forum_index slug=topic.forum.slug %}">{{ topic.forum.name }}</a> » | |
8 <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a> | |
9 </h3> | |
10 <p> | 6 <p> |
11 {% if is_favorite %} | 7 {% if is_favorite %} |
12 The forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a> has been added to your | 8 The forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a> has been added to your |
13 <a href="{% url forums-manage_favorites %}">favorites</a>. | 9 <a href="{% url forums-manage_favorites %}">favorites</a>. |
14 {% else %} | 10 {% else %} |