comparison gpp/templates/forums/subscription_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 500e5875a306
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: {% if is_subscribed %}S{% else %}Uns{% endif %}ubscribed to Topic{% endblock %} 3 {% block title %}Forums: {% if is_subscribed %}S{% else %}Uns{% endif %}ubscribed to Topic{% endblock %}
3 {% block content %} 4 {% block content %}
4 <h2>Forums: {% if is_subscribed %}S{% else %}Uns{% endif %}ubscribed to Topic</h2> 5 {% forum_navigation topic "Topic Subscriptions Updated" %}
5
6 <h3>
7 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
8 <a href="{% url forums-forum_index slug=topic.forum.slug %}">{{ topic.forum.name }}</a> &raquo;
9 <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a>
10 </h3>
11 <p> 6 <p>
12 {% if is_subscribed %} 7 {% if is_subscribed %}
13 You are now subscribed to the forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a>. 8 You are now subscribed to the forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a>.
14 You will receive an email notification whenever a new reply is posted. 9 You will receive an email notification whenever a new reply is posted.
15 {% else %} 10 {% else %}