Mercurial > public > sg101
view gpp/templates/antispam/suspended.html @ 479:32cec6cd8808
Refactor RateLimiter so that if Redis is not running, everything still runs normally (minus the rate limiting protection). My assumption that creating a Redis connection would throw an exception if Redis wasn't running was wrong. The exceptions actually occur when you issue a command. This is for #224.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 25 Sep 2011 00:49:05 +0000 |
parents | daa2916f5b34 |
children |
line wrap: on
line source
{% extends 'base.html' %} {% load url from future %} {% block title %}Account Suspension Status{% endblock %} {% block content %} <h2>Account Suspension Status</h2> {% if not is_active %} <p class="error"> Your post has tripped our spam filter. Your account has been suspended pending a review of your post. If this was a mistake, we sincerely apologize and promise your account will be restored soon. We regret having to take this drastic measure, but the high volume of spam we recieve has forced us to take this action. If you have any questions, please feel to <a href="{% url 'contact-form' %}">contact us</a>. </p> {% else %} <p class="success"> Your account has been restored and you should be able to make comments and forum posts. We apologize for any inconvenience. </p> {% endif %} {% endblock %}