adminpanel.html 747 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
{% extends 'base.html' %}


{% block title %}
Go - Administration Panel
{% endblock %}


{% block content %}
</p>
Users awaiting moderation:
{% for unapproved in need_approval %}
    <p>
    Username: {{ unapproved.username }} 
    <br />
    Full name: {{ unapproved.full_name }}
    <br />
    Description: {{ unapproved.description|default_if_none:"No description provided" }}
    </p>
    <form method="post" action="adminpanel">{% csrf_token %}
    	<input type="hidden" name="username" value={{ unapproved.username }}>
        <input type="submit" name="_approve" value="Approve">
        <input type="submit" name="_deny" value="Deny">
    </form>
{% empty %}
    <p>
    No users awaiting moderation.
    </p>
{% endfor %}

{% endblock %}