Mercurial > public > sg101
diff 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 |
line wrap: on
line diff
--- a/gpp/templates/forums/subscription_status.html Mon Oct 04 00:56:54 2010 +0000 +++ b/gpp/templates/forums/subscription_status.html Mon Oct 04 00:57:58 2010 +0000 @@ -1,13 +1,8 @@ {% extends 'base.html' %} +{% load forum_tags %} {% block title %}Forums: {% if is_subscribed %}S{% else %}Uns{% endif %}ubscribed to Topic{% endblock %} {% block content %} -<h2>Forums: {% if is_subscribed %}S{% else %}Uns{% endif %}ubscribed to Topic</h2> - -<h3> - <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> » - <a href="{% url forums-forum_index slug=topic.forum.slug %}">{{ topic.forum.name }}</a> » - <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a> -</h3> +{% forum_navigation topic "Topic Subscriptions Updated" %} <p> {% if is_subscribed %} You are now subscribed to the forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a>.