Mercurial > public > sg101
view gpp/templates/antispam/suspended.html @ 265:1ba2c6bf6eb7
Closing #98. Animated GIFs were losing their transparency and animated properties when saved as avatars. Reworked the avatar save process to only run the avatar through PIL if it is too big. This preserves the original uploaded file if it is within the desired size settings. This may still mangle big animated gifs. If this becomes a problem, then maybe look into calling the PIL Image.resize() method directly. Moved the PIL image specific functions from bio.forms to a new module: core.image for better reusability in the future.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 24 Sep 2010 02:12:09 +0000 |
parents | 8c1832b9d815 |
children | daa2916f5b34 |
line wrap: on
line source
{% extends 'base.html' %} {% 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 %}