{% extends "admin/base.html" %} {% block admin_content %}
Campaign #{{ campaign.id }} Details
Back to Campaigns
Campaign Overview
{{ campaign.status.replace('_', ' ').title() }}
Target Model:
{{ campaign.model.name }} {{ campaign.model_type.upper() }}
Detected At:
{{ campaign.detected_at.strftime('%Y-%m-%d %H:%M:%S') }}
Detection Window:
{{ campaign.time_window_hours }} hours
Total Votes:
{{ campaign.vote_count }}
Users Involved:
{{ campaign.user_count }}
Confidence Score:
{{ (campaign.confidence_score * 100)|round }}%
{% if campaign.resolved_at %}

Resolution Information

Resolved By:
{{ campaign.resolver.username if campaign.resolver else 'System' }}
Resolved At:
{{ campaign.resolved_at.strftime('%Y-%m-%d %H:%M:%S') }}
{% if campaign.admin_notes %}
Admin Notes:
{{ campaign.admin_notes }}
{% endif %}
{% endif %}
Campaign Participants ({{ participants|length }})
{% if participants %}
{% for participant, user in participants %} {% endfor %}
User Votes in Campaign First Vote Last Vote Suspicion Level Account Age Current Status Actions
{{ user.username }} {{ participant.votes_in_campaign }} {{ participant.first_vote_at.strftime('%Y-%m-%d %H:%M') }} {{ participant.last_vote_at.strftime('%Y-%m-%d %H:%M') }} {{ participant.suspicion_level.title() }} {% if user.join_date %} {{ ((campaign.detected_at - user.join_date).days) }} days {% else %} Unknown {% endif %}
Checking...
View User
{% else %}

No participants found.

{% endif %}
Related Timeouts ({{ related_timeouts|length }})
{% if related_timeouts %}
{% for timeout in related_timeouts %} {% endfor %}
User Reason Created Expires Status Actions
{{ timeout.user.username }} {{ timeout.reason }} {{ timeout.created_at.strftime('%Y-%m-%d %H:%M') }} {{ timeout.expires_at.strftime('%Y-%m-%d %H:%M') }} {% if timeout.is_currently_active() %} Active {% else %} Expired {% endif %} Manage
{% else %}

No related timeouts.

{% endif %}
{% if campaign.status == 'active' %}
Resolve Campaign
{% endif %} {% endblock %}