{# # GNU MediaGoblin -- federated, autonomous media hosting # Copyright (C) 2011, 2012 MediaGoblin contributors. See AUTHORS. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . #} {% extends "mediagoblin/base.html" %} {% block title -%} {% trans %}User panel{% endtrans %} — {{ super() }} {%- endblock %} {% block mediagoblin_content %}

{% trans %}User panel{% endtrans %}

{% trans %} Here you can look up users in order to take punitive actions on them. {% endtrans %}

{% trans %}Active Users{% endtrans %}

{% if user_list.count() %} {% if not last_page == 1 %} {% if 'p='~current_page in request.query_string %} {% set query_string = request.query_string %}{% else %} {% set query_string = 'p='~current_page~"&"+request.query_string %} {% endif %}
{% set first_vis = current_page-3 %} {% set last_vis = current_page+3 %} {% if 1 == current_page %}1{% else %} 1{% endif %} {% if first_vis > 1 %}...{% endif %} {% for p in range(first_vis,last_vis+1) %} {% if p > 1 and p < last_page and current_page !=p %} {{ p }} {% elif p > 1 and p < last_page %} {{ p }} {% endif %} {% endfor %} {% if last_vis < last_page %}...{% endif %} {% if last_page != current_page %} {{ last_page }} {% else %}{{ last_page }} {% endif %}
{% endif %} {% for user in user_list %} {% endfor %}
{% trans %}ID{% endtrans %} {% trans %}Username{% endtrans %} {% trans %}When Joined{% endtrans %} {% trans %}# of Comments Posted{% endtrans %}
{{ user.id }} {{ user.username }} {{ user.created.strftime("%F %R") }} {{ user.posted_comments.count() }}
{% else %}

{% trans %}No users found.{% endtrans %}

{% endif %} {% endblock %}