view gpp/templates/forums/spammer_nailed.html @ 260:3a4bbf9c2cce

Fixing #107. Apparently some signal handlers were getting connected twice (double import?) and thus saving a forum post would cause 2 email notifications to go out to the post topic's subscribers. Use the dispatch_uid parameter in the connect call to work around this issue.
author Brian Neal <bgneal@gmail.com>
date Wed, 22 Sep 2010 00:24:59 +0000
parents fad7548b7f6e
children daa2916f5b34
line wrap: on
line source
{% extends 'base.html' %}
{% block title %}Spammer Nailed: {{ spammer.username }}{% endblock %}
{% block content %}
<h2>Spammer Nailed: {{ spammer.username }}</h2>
<p>
{% if success %}
The user <a href="{% url bio-view_profile username=spammer.username %}">{{ spammer.username }}</a>
has had his/her account deactivated for spamming.
All forum posts and comments this user has made have been deleted. The site admin has been
notified of this action. Thanks for helping to keep our site spam-free!
{% else %}
Whoops, something went wrong deactivating the account of
<a href="{% url bio-view_profile username=spammer.username %}">{{ spammer.username }}</a>. 
Or, possibly some time has passed and the account was reinstated. If you have any questions, contact
the site admin.
{% endif %}
</p>
{% endblock %}