annotate gpp/templates/forums/spammer_nailed.html @ 467:b910cc1460c8

Add the ability to conditionally add model instances to the search index on update. This is not perfect, as some instances should be deleted from the index if they are updated such that they should not be in the index anymore. Will think about and address that later.
author Brian Neal <bgneal@gmail.com>
date Sun, 24 Jul 2011 18:12:20 +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 %}