{% extends "admin/layout.html" %} {% block title %}Deletion Log – Admin{% endblock %} {% block body %}
{% trans %}Audit trail of all deleted files, conversions, users, teams, and shares.{% endtrans %} {{ total }} {% trans %}record(s) total.{% endtrans %}
| {% trans %}When{% endtrans %} | {% trans %}Type{% endtrans %} | {% trans %}Item Name{% endtrans %} | {% trans %}Actor{% endtrans %} | {% trans %}Role{% endtrans %} | {% trans %}Size{% endtrans %} | {% trans %}Details{% endtrans %} |
|---|---|---|---|---|---|---|
| {{ entry.deleted_at[:16].replace('T', ' ') if entry.deleted_at else '—' }} | {{ entry.entity_type | replace('_', ' ') | title }} | {{ entry.entity_name or '—' }} | {% if entry.actor_username %} {{ entry.actor_username }} {% if entry.actor_user_id %} #{{ entry.actor_user_id }} {% endif %} {% else %}—{% endif %} | {{ entry.actor_role | title }} | {% if entry.file_size_bytes %} {% set sz = entry.file_size_bytes %} {% if sz >= 1073741824 %}{{ '%.1f' | format(sz / 1073741824) }} GB {% elif sz >= 1048576 %}{{ '%.1f' | format(sz / 1048576) }} MB {% elif sz >= 1024 %}{{ '%.0f' | format(sz / 1024) }} KB {% else %}{{ sz }} B{% endif %} {% else %}—{% endif %} | {% if entry.team_name %} {{ entry.team_name }} {% endif %} {% if entry.extra_meta and entry.extra_meta != '{}' %} {%- set meta = entry.extra_meta | tojson -%} meta {% endif %} |
{% trans %}Page{% endtrans %} {{ page }} {% trans %}of{% endtrans %} {{ total_pages }}
{% trans %}No deletion events recorded yet.{% endtrans %}
{% if search or entity_type or actor_role %} {% trans %}Clear filters{% endtrans %} {% endif %}