diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index c6ecb1d3..82444bb9 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -682,7 +682,8 @@ table.admin_panel { } table.admin_side_panel { - width: 60% + width: 90%; + margin-bottom: 10px; } table.admin_panel th, table.admin_side_panel th { @@ -859,6 +860,12 @@ pre { .header_right { float: none; } + + .return_to_panel { + float: none; + width: 100%; + text-align: center; + } } /* Exif display */ diff --git a/mediagoblin/templates/mediagoblin/moderation/user.html b/mediagoblin/templates/mediagoblin/moderation/user.html index 6335ea12..efbaa0a1 100644 --- a/mediagoblin/templates/mediagoblin/moderation/user.html +++ b/mediagoblin/templates/mediagoblin/moderation/user.html @@ -34,6 +34,14 @@ {% endblock %} {% block mediagoblin_content -%} +
+{% trans %}Sorry, no such user found.{% endtrans %}
@@ -52,120 +60,108 @@ {# Active(?) (or at least verified at some point) user, horray! #} {% else %} - - {% trans %}Return to Users Panel{% endtrans %} -{%- trans %}Report ID{% endtrans -%} | +{%- trans %}Reported Content{% endtrans -%} | +{%- trans %}Description of Report{% endtrans -%} | +|
---|---|---|---|
+ ![]() |
+ + {% if report.discriminator == "comment_report" %} + {%- trans %}Reported Comment{% endtrans -%} + {% elif report.discriminator == "media_report" %} + {%- trans %}Reported Media Entry{% endtrans -%} + {% endif %} + | +{{ report.report_content[:21] }} + {% if report.report_content|count >20 %}...{% endif %} | +{%- trans %}Resolve{% endtrans -%} | +
+ |
+ + + {%- trans + username=user.username %}All reports on {{ username }}{% endtrans %} + · + + {%- trans username=user.username -%} + All reports that {{ username }} has filed + {%- endtrans %} + + +
+