view gpp/templates/forums/spammer_nailed.html @ 286:72fd300685d5

For #95. You can now make posts with no text in the body if you have attachments. And now if you create a new topic with an attachment, and the POST fails (say you forgot the topic title), we will now re-attach attachments. Also fixed a bug in the smiley code that would arise if it was asked to markup an empty string.
author Brian Neal <bgneal@gmail.com>
date Sat, 23 Oct 2010 20:19:46 +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 %}