contentdb/app/templates/admin/audit_view.html

27 lines
529 B
HTML

{% extends "base.html" %}
{% block title %}
{{ entry.title }}
{% endblock %}
{% block content %}
{% if entry.url %}
<a class="float-end btn btn-primary" href="{{ entry.url }}">View</a>
{% endif %}
<h1>{{ entry.title }}</h1>
{% if entry.causer %}
<p class="text-muted mb-4">
{{ _("Caused by %(author)s.", author=entry.causer.username) }}
</p>
{% else %}
<p class="text-muted mb-4">
{{ _("Caused by a deleted user.") }}
</p>
{% endif %}
<pre><code>{{ entry.description }}</code></pre>
{% endblock %}