Files

27 lines
770 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "base.html" %}
{% block title %}Audit{% endblock %}
{% block content %}
<h1>Audit-Log</h1>
<section class="card">
<div class="table-wrap">
<table>
<thead><tr><th>Zeit</th><th>Benutzer</th><th>Aktion</th><th>Ziel</th><th>Alt</th><th>Neu</th></tr></thead>
<tbody>
{% for e in entries %}
<tr>
<td>{{ e.ts | fmt_ts }}</td>
<td>{{ e.user }}</td>
<td>{{ e.action }}</td>
<td>{{ e.target }}</td>
<td>{{ e.old_value if e.old_value is not none else "–" }}</td>
<td>{{ e.new_value if e.new_value is not none else "–" }}</td>
</tr>
{% else %}
<tr><td colspan="6" class="muted">Keine Einträge.</td></tr>
{% endfor %}
</tbody>
</table>
</div>
</section>
{% endblock %}