Add reporting system

Fixes #12
This commit is contained in:
rubenwardy
2022-01-20 23:30:56 +00:00
parent a47e6e8998
commit 7f5656df08
15 changed files with 155 additions and 24 deletions

View File

@@ -21,7 +21,12 @@
<i class="fas fa-tasks mr-1"></i>
{{ _("To Do List") }}
</a>
{% endif %}
{% endif %}
<a class="btn btn-secondary float-right mr-3" href="{{ url_for('report.report', url=url_current(True)) }}">
<i class="fas fa-flag mr-1"></i>
{{ _("Report") }}
</a>
{% if current_user.is_authenticated and current_user.rank.atLeast(current_user.rank.MODERATOR) and user.email %}
<a class="btn btn-secondary float-right mr-3" href="{{ url_for('admin.send_single_email', username=user.username) }}">