Mercurial > public > sg101
annotate gpp/templates/antispam/suspended.html @ 507:8631d32e6b16
Some users are still having problems with the pop-up login. I think they are actually getting 403s because of the CSRF protection. So I have modified the base template to always have a javascript variable called csrf_token available when they aren't logged in. The ajax_login.js script was then modified to send this value with the ajax post. Fingers crossed.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 04 Dec 2011 03:05:21 +0000 |
parents | daa2916f5b34 |
children |
rev | line source |
---|---|
bgneal@215 | 1 {% extends 'base.html' %} |
bgneal@310 | 2 {% load url from future %} |
bgneal@215 | 3 {% block title %}Account Suspension Status{% endblock %} |
bgneal@215 | 4 {% block content %} |
bgneal@215 | 5 <h2>Account Suspension Status</h2> |
bgneal@215 | 6 {% if not is_active %} |
bgneal@215 | 7 <p class="error"> |
bgneal@215 | 8 Your post has tripped our spam filter. Your account has been suspended pending |
bgneal@215 | 9 a review of your post. If this was a mistake, we sincerely apologize and promise |
bgneal@215 | 10 your account will be restored soon. We regret having to take this drastic measure, but |
bgneal@215 | 11 the high volume of spam we recieve has forced us to take this action. If you have any |
bgneal@310 | 12 questions, please feel to <a href="{% url 'contact-form' %}">contact us</a>. |
bgneal@215 | 13 </p> |
bgneal@215 | 14 {% else %} |
bgneal@215 | 15 <p class="success"> |
bgneal@215 | 16 Your account has been restored and you should be able to make comments and forum |
bgneal@215 | 17 posts. We apologize for any inconvenience. |
bgneal@215 | 18 </p> |
bgneal@215 | 19 {% endif %} |
bgneal@215 | 20 {% endblock %} |