Mercurial > public > sg101
diff gpp/templates/forums/spammer.html @ 215:8c1832b9d815
Implement #84; additional checks on spammers; implement stranger status.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 29 May 2010 04:51:28 +0000 |
parents | fad7548b7f6e |
children | daa2916f5b34 |
line wrap: on
line diff
--- a/gpp/templates/forums/spammer.html Fri May 14 02:19:48 2010 +0000 +++ b/gpp/templates/forums/spammer.html Sat May 29 04:51:28 2010 +0000 @@ -3,7 +3,7 @@ {% block content %} <h2>Deactivate Spammer: {{ post.user.username }}</h2> -{% if can_moderate %} +{% if can_moderate and can_deactivate %} <p>Please confirm that you wish to mark the user <a href="{% url bio-view_profile username=post.user.username %}">{{ post.user.username }}</a> as a spammer based on <a href="{% url forums-goto_post post.id %}">this post</a>. @@ -15,7 +15,12 @@ <input type="submit" value="Deactivate {{ post.user.username }}" /> </form> {% else %} -<p>Sorry, but you don't have permission to deactivate spammers in that post's forum.</p> + {% if can_moderate %} + <p>That user is no longer a stranger, and can't be deactivated like this. Please + contact the site admin if that user is now posting spam.</p> + {% else %} + <p>Sorry, but you don't have permission to deactivate spammers in that post's forum.</p> + {% endif %} {% endif %} <hr /> <p>