{% extends "base.html" %} {% block title %}System Logs{% endblock %} {% block content %}

System-Protokoll

{% set conflicts = items | selectattr('ConflictDetected') | list %} {% if conflicts %}
⚠ {{ conflicts | length }} Buchungskonflikt{{ 's' if conflicts | length > 1 else '' }} erkannt – Geplante Reservierungen wurden aktiv, obwohl der Gegenstand bereits ausgeliehen war.
{% endif %}
{% for item in items %} {% endfor %}
Typ ↕ Item Name ↕ Benutzer ↕ Status ↕ Ausgeliehen am ↕ Zurückgegeben am ↕ Dauer Hinweis
{{ item.EventType or 'Ausleihe' }} {{ item.Item }} {{ item.User }} {{ item.Status }} {{ item.Start }} {{ item.End }} {{ item.Duration }} {% if item.ConflictNote %} {{ item.ConflictNote }} {% endif %} {% if item.ConflictDetected %} ⚠ Konflikt {% endif %}
{% endblock %}