{% extends "base.html" %} {% from "components/page_header.html" import page_header %} {% from "components/empty_state.html" import empty_state %} {% block title %}My Reports · CampusCart{% endblock %} {% set status_badge = {'pending': 'warning', 'under_review': 'info', 'resolved': 'success', 'dismissed': 'secondary'} %} {% block content %}
{{ page_header('My Reports', 'Reports you submitted and their current status.') }} {% if reports %}
{% for r in reports %} {% endfor %}
Reported item Reason Status Submitted Updated
{% if r.listing_public_id %} {{ r.listing_title }} {% elif r.listing_title %} {{ r.listing_title }} Removed {% else %} {{ r.entity_type }} {% endif %}
{{ r.short_id }}
{{ r.reason }} {{ r.status_label }} {{ r.created_at.strftime('%d %b %Y') }} {{ r.resolved_at.strftime('%d %b %Y') if r.resolved_at else '—' }}

To protect everyone's privacy, we don't share the specific action taken against another user.

{% else %} {{ empty_state('bi-flag', "You haven't reported anything", "If you come across a listing that breaks our guidelines, use the Report button on the listing and it will show up here.", cta_label='Browse marketplace', cta_url=url_for('main.marketplace'), cta_icon='bi-shop') }} {% endif %}
{% endblock %}