{% extends "files/_layout.html" %} {% from "_macros.html" import icon %} {% from "files/_macros.html" import in_place %} {#- What you may restore: each thing moved to the trash, with what went with it coming back too (services/fs.py `trash`, `restore`). -#} {% block title %}{{ t("Trash") }} - {{ brand.name }}{% endblock %} {% block heading %}{{ t("Trash") }}{% endblock %} {% block page_content %}

{{ icon("chevron-left", "icon--sm") }} {{ t("Back to all files") }}

{% if not items %}
{{ icon("trash", "empty__mark") }}

{{ t("The trash is empty.") }}

{% else %}
{% for node in items %}
{{ icon("folder" if node.kind != "file" else "file-text", "icon--sm") }} {{ node.path }} {{ stamp(node.trashed_at, "%d %B %Y") }}
{% endfor %}
{% endif %} {% endblock %}