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
{% extends "base.html" %}
{% block title %}{{ model.name }} #{{ pk }} — rustango admin{% endblock title %}
{% block body %}
{{ admin_title }}
{{ model.name }}
#{{ pk }}
{{ model.name }} #{{ pk }}
{% for cell in cells %}
{{ cell.label }}
{{ cell.value | safe }}
{% endfor %}
{% if read_only %}
This table is read-only.
{% else %}
Edit ·
Delete
{% endif %}
{% if audit_entries %}
Audit trail{% if audit_entries | length > 0 %}
· View full history
{% endif %}
{% if audit_entries | length == 0 %}
No audit history for this row.
{% else %}
{% for e in audit_entries %}
{% if e.action_name %}
action: {{ e.action_name }}
{% else %}
{{ e.operation }}
{% endif %}
by {{ e.source }}
at {{ e.occurred_at }}
{{ e.changes }}
{% endfor %}
{% endif %}
{% endif %}
{% endblock body %}