{# # 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" %} {% import "/mediagoblin/utils/wtforms.html" as wtforms_util %} {%- block mediagoblin_content %} {% if not report %} Sorry, no such report found. {% else %} {% trans %}Return to Reports Panel{% endtrans %}

{% trans %}Report{% endtrans %} #{{ report.id }}

{% if report.is_comment_report() or (report.is_archived_report() and report.comment) %} {% trans %}Reported comment{% endtrans %}: {% set comment = report.comment %} {% set reported_user = comment.get_author %}
{% autoescape False %} {{ comment.content_html }} {% endautoescape %}
{% elif report.is_media_entry_report() or (report.is_archived_report() and report.media_entry) %} {% set media_entry = report.media_entry %}
{{ media_entry.title }}

{% trans user_name=report.reported_user.username, user_url=request.urlgen( 'mediagoblin.moderation.users_detail', user=report.reporter.username) %} ❖ Reported media by {{ user_name }} {% endtrans %}

{% else %}

{% trans user_url=request.urlgen( 'mediagoblin.moderation.users_detail', user=report.reporter.username), user_name=report.reported_user.username %} CONTENT BY {{ user_name }} HAS BEEN DELETED {% endtrans %}

{% endif %} Reason for report:
{{ report.report_content }}
{% if not report.is_archived_report() %}
{{ wtforms_util.render_divs(form) }} {{ csrf_token }}
{% else %}

Under a GNU LGPL v.3 or Creative Commons BY-SA 3.0 license.
                  Distributed by the GNOME project http://www.gnome.org {% trans %}Status{% endtrans %}:

{% trans %}RESOLVED{% endtrans %} {{ report.resolved.strftime("%I:%M%p %Y-%m-%d") }} {% autoescape False %}

{{ report.result }}

{% endautoescape %} {% endif %} {% endif %} {% endblock %}