annotate gpp/templates/forums/subscription_status.html @ 194:6a5549c2efb5

Implement #62, add support for CSRF protection.
author Brian Neal <bgneal@gmail.com>
date Sat, 03 Apr 2010 20:00:56 +0000
parents 500e5875a306
children 593fb6dbd449
rev   line source
bgneal@181 1 {% extends 'base.html' %}
bgneal@181 2 {% block title %}Forums: {% if is_subscribed %}S{% else %}Uns{% endif %}ubscribed to Topic{% endblock %}
bgneal@181 3 {% block content %}
bgneal@181 4 <h2>Forums: {% if is_subscribed %}S{% else %}Uns{% endif %}ubscribed to Topic</h2>
bgneal@181 5
bgneal@181 6 <h3>
bgneal@181 7 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
bgneal@181 8 <a href="{% url forums-forum_index slug=topic.forum.slug %}">{{ topic.forum.name }}</a> &raquo;
bgneal@181 9 <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a>
bgneal@181 10 </h3>
bgneal@181 11 <p>
bgneal@181 12 {% if is_subscribed %}
bgneal@181 13 You are now subscribed to the forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a>.
bgneal@181 14 You will receive an email notification whenever a new reply is posted.
bgneal@181 15 {% else %}
bgneal@181 16 You have successfully unsubscribed to the forum topic <a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a>.
bgneal@181 17 You will no longer receive emails when new replies are posted.
bgneal@181 18 {% endif %}
bgneal@181 19 </p>
bgneal@181 20 <p>
bgneal@181 21 To manage all your forum topic subscriptions, please visit your
bgneal@181 22 <a href="{% url forums-manage_subscriptions %}">subscriptions page</a>.
bgneal@181 23 </p>
bgneal@181 24 {% endblock %}