view gpp/templates/forums/spammer_nailed.html @ 505:a5d11471d031

Refactor the logic in the rate limiter decorator. Check to see if the request was ajax, as the ajax view always returns 200. Have to decode the JSON response to see if an error occurred or not.
author Brian Neal <bgneal@gmail.com>
date Sat, 03 Dec 2011 19:13:38 +0000
parents 3c48a555298d
children
line wrap: on
line source
{% extends 'base.html' %}
{% load url from future %}
{% load bio_tags %}
{% block title %}Spammer Nailed: {{ spammer.username }}{% endblock %}
{% block content %}
<h2>Spammer Nailed: {{ spammer.username }}</h2>
<p>
{% if success %}
The user {% profile_link spammer.username %}
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
{% profile_link spammer.username '.' %}
Or, possibly some time has passed and the account was reinstated. If you have any questions, contact
the site admin.
{% endif %}
</p>
{% endblock %}