aboutsummaryrefslogtreecommitdiff
path: root/app/templates/admin/audit_view.html
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-07-11 03:29:33 +0100
committerrubenwardy <rw@rubenwardy.com>2020-07-11 03:29:38 +0100
commit31b8a7931bdb95b296e236c11705206507b035d8 (patch)
treedafcdca8f5dea95a326c08125f7d035be812ddd9 /app/templates/admin/audit_view.html
parenta4dd4f04293b6ad6dab5d3dc0a4c52a3290b4394 (diff)
downloadcheatdb-31b8a7931bdb95b296e236c11705206507b035d8.tar.xz
Add ability for moderators to delete comments
Diffstat (limited to 'app/templates/admin/audit_view.html')
-rw-r--r--app/templates/admin/audit_view.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/templates/admin/audit_view.html b/app/templates/admin/audit_view.html
new file mode 100644
index 0000000..72e0f27
--- /dev/null
+++ b/app/templates/admin/audit_view.html
@@ -0,0 +1,19 @@
+{% 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>
+ <p class="text-muted mb-4">
+ {{ _("Caused by %(author)s.", author=entry.causer.display_name) }}
+ </p>
+
+ <pre><code>{{ entry.description }}</code></pre>
+
+{% endblock %}