annotate gpp/templates/forums/stranger.html @ 477:737a0c261a77

Add a link to John Blair's 50 years of surf music article on the banner.
author Brian Neal <bgneal@gmail.com>
date Fri, 09 Sep 2011 22:16:40 +0000
parents daa2916f5b34
children 3c48a555298d
rev   line source
bgneal@215 1 {% extends 'base.html' %}
bgneal@310 2 {% load url from future %}
bgneal@215 3 {% block title %}Promote Stranger: {{ post.user.username }}{% endblock %}
bgneal@215 4 {% block content %}
bgneal@215 5 <h2>Promote Stranger: {{ post.user.username }}</h2>
bgneal@215 6
bgneal@215 7 {% if can_moderate and can_promote %}
bgneal@215 8 <p>All new users are considered &quot;<em>strangers</em>&quot; until approved by a moderator.
bgneal@215 9 Strangers have their posts automatically scanned for spam phrases. Moderators can also instantly
bgneal@215 10 deactivate stranger accounts if the spam filter does not catch them. If you promote a stranger,
bgneal@215 11 these checks (which are somewhat expensive for the webserver) will no longer be performed,
bgneal@215 12 and moderators won't be able to deactivate them on the spot. You may wish to wait until the user
bgneal@215 13 has posted at least 10 times before making your decision.</p>
bgneal@215 14 <p>Please confirm that you wish to promote the new user
bgneal@310 15 <a href="{% url 'bio-view_profile' username=post.user.username %}">{{ post.user.username }}</a> from
bgneal@310 16 <em>stranger</em> status based on <a href="{% url 'forums-goto_post' post.id %}">this post</a>.
bgneal@215 17 </p>
bgneal@215 18 <form action="." method="post">{% csrf_token %}
bgneal@215 19 <input type="submit" value="Yes, {{ post.user.username }} seems legit and is not a stranger" />
bgneal@215 20 </form>
bgneal@215 21 {% else %}
bgneal@215 22 {% if can_moderate %}
bgneal@215 23 <p>That user is no longer a stranger, and can't be promoted again.</p>
bgneal@215 24 {% else %}
bgneal@215 25 <p>Sorry, but you don't have permission to promote users in that post's forum.</p>
bgneal@215 26 {% endif %}
bgneal@215 27 {% endif %}
bgneal@215 28 <hr />
bgneal@215 29 <p>
bgneal@310 30 <a href="{% url 'forums-goto_post' post.id %}">Return to the post</a>.
bgneal@215 31 </p>
bgneal@215 32 {% endblock %}