2016-11-09 08:13:57 +00:00
|
|
|
{% extends "core/base.jinja" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2024-07-23 22:16:31 +00:00
|
|
|
{% trans %}File moderation{% endtrans %}
|
2016-11-09 08:13:57 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2024-07-23 22:16:31 +00:00
|
|
|
<h3>{% trans %}File moderation{% endtrans %}</h3>
|
|
|
|
<div>
|
2016-11-09 08:13:57 +00:00
|
|
|
{% for f in files %}
|
2024-07-23 22:16:31 +00:00
|
|
|
<div style="margin: 2px; padding: 2px; border: solid 1px red; text-align: center">
|
2016-11-09 08:13:57 +00:00
|
|
|
{% if f.is_folder %}
|
2024-07-23 22:16:31 +00:00
|
|
|
<strong>Folder</strong>
|
2016-11-09 08:13:57 +00:00
|
|
|
{% else %}
|
2024-07-23 22:16:31 +00:00
|
|
|
<strong>File</strong>
|
2016-11-09 08:13:57 +00:00
|
|
|
{% endif %}
|
|
|
|
<p>
|
2024-07-23 22:16:31 +00:00
|
|
|
<a href="{{ url("core:file_detail", file_id=f.id) }}">{{ f.name }}</a><br/>
|
|
|
|
{% trans %}Full name: {% endtrans %}{{ f.get_parent_path()+'/'+f.name }}<br/>
|
|
|
|
{% trans %}Owner: {% endtrans %}{{ f.owner.get_display_name() }}<br/>
|
|
|
|
{% trans %}Date: {% endtrans %}{{ f.date|date(DATE_FORMAT) }} {{ f.date|time(TIME_FORMAT) }}<br/>
|
2016-11-09 08:13:57 +00:00
|
|
|
</p>
|
|
|
|
<p><a href="{{ url('core:file_moderate', file_id=f.id) }}">{% trans %}Moderate{% endtrans %}</a> -
|
2024-07-23 22:16:31 +00:00
|
|
|
<a href="{{ url('core:file_delete', file_id=f.id) }}?next={{ url('core:file_moderation') }}">{% trans %}Delete{% endtrans %}</a></p>
|
|
|
|
</div>
|
2016-11-09 08:13:57 +00:00
|
|
|
{% endfor %}
|
2024-07-23 22:16:31 +00:00
|
|
|
</div>
|
2016-11-09 08:13:57 +00:00
|
|
|
{% endblock %}
|