{% extends "base.html" %} {% load i18n %} {% block title %}{% translate "Audit Retention Settings" %} - Eenos{% endblock %} {% block content %}

{% translate "Audit Retention Settings" %}

{% translate "Control how long administrative and system activity records are retained." %}
{% translate "View Recent Activity" %}
{% include "includes/form_alerts.html" %}
{% translate "Stored Events" %}
{{ event_count }}
{% translate "Database Size" %}
{{ database_size|filesizeformat }}
{% csrf_token %}
{% translate "Automatic Audit Cleanup" %}
{% translate "Automatically remove audit events older than the selected retention period." %}
{% if settings.auto_purge %} {% translate "Expired audit events will be removed automatically." %} {% else %} {% translate "Audit events will be retained indefinitely." %} {% endif %}
{% translate "Events older than this period will be eligible for removal." %}
{% translate "Last Automatic Cleanup" %}
{% if settings.last_purge %} {{ settings.last_purge }} {% else %} {% translate "Not run yet" %} {% endif %}
{% translate "When no settings file exists, Eenos uses the default 120-day retention period. Explicitly disabling automatic cleanup retains all audit events." %}
{% endblock %} {% block extra_js %} {% endblock %}