{% extends 'workflows/base_shell.html' %} {% load static i18n %} {% block title %}{% trans "Audit Log" %}{% endblock %} {% block extra_css %} {% endblock %} {% block shell_body %} {% include 'workflows/includes/app_header.html' with header_show_home=1 header_inside_shell=1 %}

{% trans "Audit Log" %}

{% trans "Nachvollziehbarkeit aller wichtigen Admin-Aktionen im Portal." %}

{% trans "Zurücksetzen" %}
{% for row in rows %} {% empty %} {% endfor %}
{% trans "Zeit" %} {% trans "Nutzer" %} {% trans "Aktion" %} {% trans "Typ" %} {% trans "Ziel" %} {% trans "Details" %}
{{ row.created_at|date:"Y-m-d H:i:s" }} {{ row.actor_display|default:"-" }} {{ row.action }} {{ row.target_type|default:"-" }} {% if row.target_label %} {{ row.target_label }} {% elif row.target_id %} ID {{ row.target_id }} {% else %} - {% endif %} {% if row.details.request_labels %}
{% trans "Betroffene Vorgänge" %}
    {% for label in row.details.request_labels %}
  • {{ label }}
  • {% endfor %}
{% endif %} {% if row.details.deleted_count %}
{% trans "Gelöscht" %}: {{ row.details.deleted_count }}
{% endif %} {% if row.details.invalid_count %}
{% trans "Ungültig" %}: {{ row.details.invalid_count }}
{% endif %} {% if row.details.result %}
{% trans "Ergebnis" %}: {{ row.details.result }}
{% endif %} {% if not row.details.request_labels and not row.details.deleted_count and not row.details.invalid_count and not row.details.result %} {{ row.details|default:"{}" }} {% endif %}
{% trans "Noch keine Audit-Einträge vorhanden." %}
{% endblock %}