1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{% extends "base.html" %}
{% block title %}Activity — rustango admin{% endblock title %}
{% block body %}
{{ admin_title }}
Activity
Activity
{{ total }} audit entr{% if total == 1 %}y{% else %}ies{% endif %} across every model. Newest first.
{% if active_filters | length > 0 %}
filtered by:
{% for f in active_filters %}{{ f.key }}={{ f.value }} {% endfor %}
· clear
{% endif %}
Older than
days
Keep last
per row
Apply cleanup
Per-tenant. The cleanup itself is recorded as an audit entry.
{% if entries | length == 0 %}
No audit entries match the current filter.
{% else %}
{% for e in entries %}
{% if e.action_name %}
action: {{ e.action_name }}
{% else %}
{{ e.operation }}
{% endif %}
{{ e.entity_table }}#{{ e.entity_pk }}
by {{ e.source }}
at {{ e.occurred_at }}
{{ e.changes }}
{% endfor %}
{% endif %}
{% if last_page > 1 %}
{% if page > 1 %}
← prev
{% else %}
← prev
{% endif %}
· Page {{ page }} of {{ last_page }} ·
{% if page < last_page %}
next →
{% else %}
next →
{% endif %}
{% endif %}
{# /list-main #}
{% if facets and facets | length > 0 %}
{% for facet in facets %}
By {{ facet.field }}
{% for v in facet.values %}
{{ v.display | safe }}
({{ v.count }})
{% endfor %}
{% if facet.more_count and facet.more_count > 0 %}
+{{ facet.more_count }} more…
{% endif %}
{% endfor %}
{% endif %}
{# /list-shell #}
{% endblock body %}