{% extends "base.html" %} {% block title %}Flagged Content{% endblock %} {% block content %}
{% if items %} {% macro sort_header(col, label) %} {% set new_dir = 'asc' if (sort == col and direction == 'desc') else 'desc' %} {{ label }} {% if sort == col %} {{ '▼' if direction == 'desc' else '▲' }} {% endif %} {% endmacro %}
{% for item in items %} {% endfor %}
Type {{ sort_header('author_handle', 'Author') }} Content {{ sort_header('overall', 'Score') }} Category {{ sort_header('created_at', 'Created') }} Review
{% if item.item_type == 'post' %} Post {% elif item.item_type == 'reply' %} Reply {% elif item.item_type == 'mention' %} Mention {% endif %} {% if item.author_handle %} {{ item.author_handle }} {% endif %} {% if item.url %} {{ item.text | truncate_text(200) }} {% else %} {{ item.text | truncate_text(200) }} {% endif %}
{% set score_pct = (item.overall * 100) | int %} {% if item.overall < 0.3 %} {% set bar_class = 'score-bar-low' %} {% elif item.overall < 0.6 %} {% set bar_class = 'score-bar-medium' %} {% else %} {% set bar_class = 'score-bar-high' %} {% endif %}
{{ "%.2f" | format(item.overall) }}
{% if item.top_category %} {{ item.top_category }} {% else %} {% endif %} {{ item.created_at | time_ago }}
{% if total_pages > 1 %} {% endif %} {% else %}

No flagged content found

Try adjusting your filters or threshold

{% endif %}
{% endblock %} {% block extra_css %} {% endblock %} {% block extra_js %} {% endblock %}