{# # 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 open reports that have been filed by users. {% endtrans %}

{% trans %}Active Reports Filed{% endtrans %}

{% if report_list.count() %} {% for report in report_list %} {% if report.discriminator == "comment_report" %} {% elif report.discriminator == "media_report" %} {% endif %} {% endfor %}
{% trans %}Offender{% endtrans %} {% trans %}When Reported{% endtrans %} {% trans %}Reported By{% endtrans %} {% trans %}Reason{% endtrans %}
Under a GNU LGPL v.3 or Creative Commons BY-SA 3.0 license.
                   Distributed by the GNOME project http://www.gnome.org {% trans report_id=report.id %} Comment Report #{{ report_id }} {% endtrans %} Under a GNU LGPL v.3 or Creative Commons BY-SA 3.0 license.
                   Distributed by the GNOME project http://www.gnome.org {% trans report_id=report.id %} Media Report #{{ report_id }} {% endtrans %} {{ report.reported_user.username }} {{ report.created.strftime("%F %R") }} {{ report.reporter.username }} {{ report.report_content[0:20] }}...
{% else %}

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

{% endif %}

{% trans %}Closed Reports{% endtrans %}

{% if closed_report_list.count() %} {% for report in closed_report_list %} {% endfor %}
{% trans %}Resolved{% endtrans %} {% trans %}Offender{% endtrans %} {% trans %}Action Taken{% endtrans %} {% trans %}Reported By{% endtrans %} {% trans %}Reason{% endtrans %}
Under a GNU LGPL v.3 or Creative Commons BY-SA 3.0 license.
                 Distributed by the GNOME project http://www.gnome.org {% trans report_id=report.id %} Closed Report #{{ report_id }} {% endtrans %} {{ report.resolved.strftime("%F %R") }} {{ report.reported_user.username }} {{ report.created.strftime("%F %R") }} {{ report.reporter.username }} {{ report.report_content }}
{% else %}

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

{% endif %} {% endblock %}