Mercurial > public > sg101
comparison gpp/templates/forums/favorite_status.html @ 232:a46788862737
Implement a forum favorites feature for #82
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 01 Aug 2010 21:26:12 +0000 |
parents | |
children | 593fb6dbd449 |
comparison
equal
deleted
inserted
replaced
231:a2d388ed106e | 232:a46788862737 |
---|---|
1 {% extends 'base.html' %} | |
2 {% block title %}Forums: Favorite Topics{% endblock %} | |
3 {% block content %} | |
4 <h2>Forums: Favorite Topics</h2> | |
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> | |
11 {% if is_favorite %} | |
12 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>. | |
14 {% else %} | |
15 The forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a> has been removed from your | |
16 <a href="{% url forums-manage_favorites %}">favorites</a>. | |
17 {% endif %} | |
18 </p> | |
19 <p> | |
20 To manage all your forum topic favorites, please visit your | |
21 <a href="{% url forums-manage_favorites %}">favorites page</a>. | |
22 </p> | |
23 {% endblock %} |