Files
checkbot/app/web/templates/_retention_extra.html
patrickandClaude Sonnet 5.5 9c4f7366eb
test / pytest (3.11) (push) Canceled after 0s
test / pytest (3.13) (push) Canceled after 0s
feat: Phase 6 prompt versioning with test area, retention
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 02:17:01 +01:00

21 lines
1.1 KiB
HTML

<section class="card">
<h2>Hinweise</h2>
<ul>
{% for s in retention_settings %}<li><strong>{{ s.label }}</strong>: {{ s.hint }}, Standard {{ s.default }} Tage.</li>{% endfor %}
</ul>
<p class="muted">Der Bot räumt einmal nach dem Start und danach täglich nach 03:00 Uhr (lokale Zeit) auf. Der Wert 0 ist nicht erlaubt, damit nichts versehentlich ausgeschaltet wird. Aktuelle Service-Zustände und der Zustand der Chat-Listener werden nie gelöscht. Die Datenbankdatei wird nicht verkleinert, freier Platz wird wiederverwendet.</p>
</section>
<section class="card">
<h2>Letzter Lauf</h2>
{% if retention_last %}
<p>{{ retention_last.ts | fmt_ts }} ({{ 'manuell' if retention_last.origin == 'manual' else 'automatisch' }})</p>
<p>Gelöscht: {{ retention_counts }}</p>
{% else %}
<p class="muted">Noch kein Lauf.</p>
{% endif %}
<form method="post" action="{{ retention_run_path }}" data-confirm="Jetzt aufräumen? Zeilen außerhalb der Aufbewahrungsfristen werden endgültig gelöscht.">
{{ csrf_input }}
<div class="actions"><button type="submit" class="danger">Jetzt aufräumen</button></div>
</form>
</section>