{# # 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 %}Report panel{% endtrans %} — {{ super() }} {%- endblock %} {% block mediagoblin_content %}

{% trans %}Report panel{% endtrans %}

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

{% trans %}Reports Filed on Comments{% endtrans %}

{% if report_list.count() %} {% for report in report_list %} {% if report.discriminator == "comment_report" %} {% elif report.discriminator == "media_report" %} {% endif %} {% endfor %}
ID Report Type Offender When Reported Reported By Reason Reported Comment or Media Entry
{{ report.id }} Comment Report {{ report.comment.get_author.username }} {{ report.created.strftime("%F %R") }} {{ report.reporter.username }} {{ report.report_content }} {{ report.comment.get_media_entry.title }}{{ report.id }} Media Report {{ report.media_entry.get_uploader.username }} {{ report.created.strftime("%F %R") }} {{ report.reporter.username }} {{ report.report_content[0:20] }}... {{ report.media_entry.title }}
{% else %}

{% trans %}No open reports found.{% endtrans %}

{% endif %}

{% trans %}Closed Reports on Comments{% endtrans %}

{% if closed_report_list.count() %} {% for report in closed_report_list %} {% endfor %}
ID Offender When Reported Reported By Reason Comment Posted On
{{ report.id }} {{ report.comment.get_author.username }} {{ report.created.strftime("%F %R") }} {{ report.reporter.username }} {{ report.report_content }} {{ report.comment.get_media_entry.title }}
{% else %}

{% trans %}No closed reports found.{% endtrans %}

{% endif %} {% endblock %}