Add ability to filter audit log by user

This commit is contained in:
rubenwardy
2020-12-09 20:21:20 +00:00
parent d5190b0d76
commit 4433c32afc
2 changed files with 15 additions and 3 deletions

View File

@@ -59,6 +59,10 @@
</tr>
</table>
{% if current_user.rank.atLeast(current_user.rank.MODERATOR) %}
<a class="btn btn-secondary float-right" href="{{ url_for('admin.audit', username=user.username) }}">View All</a>
{% endif %}
<h3>{{ _("Recent Account Actions") }}</h3>
{% from "macros/audit_log.html" import render_audit_log %}