annotate gpp/templates/forums/spammer_nailed.html @ 390:e0523e17ea43
Fixing #175; add an auto-subscribe and auto-favorite forum topic feature. Added 2 flags to the user profile. Added 2 functions that are called on the post post-save signal that auto-favorite and auto-subscribe the post creator if they have requested this service.
author |
Brian Neal <bgneal@gmail.com> |
date |
Mon, 21 Mar 2011 00:39:52 +0000 |
parents |
daa2916f5b34 |
children |
3c48a555298d |
rev |
line source |
bgneal@212
|
1 {% extends 'base.html' %}
|
bgneal@310
|
2 {% load url from future %}
|
bgneal@212
|
3 {% block title %}Spammer Nailed: {{ spammer.username }}{% endblock %}
|
bgneal@212
|
4 {% block content %}
|
bgneal@212
|
5 <h2>Spammer Nailed: {{ spammer.username }}</h2>
|
bgneal@212
|
6 <p>
|
bgneal@212
|
7 {% if success %}
|
bgneal@310
|
8 The user <a href="{% url 'bio-view_profile' username=spammer.username %}">{{ spammer.username }}</a>
|
bgneal@212
|
9 has had his/her account deactivated for spamming.
|
bgneal@212
|
10 All forum posts and comments this user has made have been deleted. The site admin has been
|
bgneal@212
|
11 notified of this action. Thanks for helping to keep our site spam-free!
|
bgneal@212
|
12 {% else %}
|
bgneal@212
|
13 Whoops, something went wrong deactivating the account of
|
bgneal@310
|
14 <a href="{% url 'bio-view_profile' username=spammer.username %}">{{ spammer.username }}</a>.
|
bgneal@212
|
15 Or, possibly some time has passed and the account was reinstated. If you have any questions, contact
|
bgneal@212
|
16 the site admin.
|
bgneal@212
|
17 {% endif %}
|
bgneal@212
|
18 </p>
|
bgneal@212
|
19 {% endblock %}
|