{# borg/templates/partials/archives_list.html Archivlisten-Content – wird in #borg-archive-content eingebettet. Sowohl beim initialen Öffnen (via {% include %} in archives_modal.html) als auch beim Zurück-Navigieren (GET /archives/list → hx-swap innerHTML). Variablen: item_id – Job-ID archives – list[dict] aus borg list --json (neueste zuerst) error – str | None #} {% if error %}
{{ error }}
{% elif not archives %}
Keine Archive gefunden.
{% else %}
{{ archives|length }} Archive
{% for a in archives %} {% endfor %}
{% endif %} {% if not include_mode %} {% if cached_at %}Stand: {{ cached_at[:16] }}{% endif %} {% endif %}
Lade Archiv-Inhalt …