Big upheaval of how the reports system works
* There are now Reports and ReportRecords. * Reports coordinate to what moderators see, and ReportRecords coordinate with the reports that are created by individual users. * Reports keep track of the report reason and the creating user. * ReportRecords keep track of the total weight and whether this report requires urgent attention or not. * ReportRecord keeps track of its own weight and urgency because then we can sort by weight and urgency in the admin view. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
13
board/templates/admin/board/reportrecord/change_list.html
Normal file
13
board/templates/admin/board/reportrecord/change_list.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% extends "admin/change_list.html" %}
|
||||
{% block extrastyle %}
|
||||
{{ block.super }}
|
||||
<style>
|
||||
.field-post_body {
|
||||
width: 100%;
|
||||
}
|
||||
.urgent {
|
||||
background-color: var(--message-error-bg);
|
||||
color: var(--error-fg);
|
||||
}
|
||||
</style>
|
||||
{% endblock extrastyle %}
|
||||
Reference in New Issue
Block a user