contentdb/app/templates/admin/audit_view.html
2021-02-25 23:25:33 +00:00

27 lines
531 B
HTML

{% extends "base.html" %}
{% block title %}
{{ entry.title }}
{% endblock %}
{% block content %}
{% if entry.url %}
<a class="float-right 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 %}