27 lines
770 B
HTML
27 lines
770 B
HTML
{% 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 %}
|