{% extends 'base.html' %} {% load static %} {% block content %}
{% if not selected_tenant %}

Welcome to Campaign Manager

Select a campaign to view the dashboard.

{% for tenant in tenants %}
{{ tenant.name }}
Manage Campaign
{% endfor %}
{% else %}

{{ selected_tenant.name }} Dashboard

Overview of voter engagement and field operations.

{% if not is_block_walker or is_staff %} {% endif %}
Active Voters

{{ metrics.total_registered_voters }}

View All →
Target Voters

{{ metrics.total_target_voters }}

Supporting

{{ metrics.total_supporting }}

Target Households

{{ metrics.total_target_households }}

Door Visits
Visited

{{ metrics.total_door_visits }}

Target

{{ metrics.total_target_door_visit_households }}

View Visits →
Signs
Has

{{ metrics.total_has_signs }}

View Existing →
Wants

{{ metrics.total_wants_signs }}

Requests →
Call Queue
To be Called

{{ metrics.total_to_be_called }}

Called

{{ metrics.total_called }}

View Queue →
Window Stickers
Has

{{ metrics.total_has_window_stickers }}

Wants

{{ metrics.total_wants_window_stickers }}

{% if can_view_donations %}
Donation Goal

{{ metrics.donation_percentage }}%

{% endif %}
{% if not is_block_walker or is_staff %}
Recent Interactions
View All
{% for interaction in recent_interactions %} {% empty %} {% endfor %}
Voter Type Date Notes
{{ interaction.voter }}
{{ interaction.volunteer|default:"Staff" }}
{{ interaction.type }} {{ interaction.date|date:"M d, Y H:i" }} {{ interaction.description|truncatechars:50 }}
No recent interactions found.
{% endif %}
{% if not is_block_walker or is_staff %}
Upcoming Events
View All
{% for event in upcoming_events %}
{{ event.name|default:event.event_type }}
{{ event.event_type }}
{{ event.date|date:"M d, Y" }}
{% empty %}
No upcoming events.
{% endfor %}
{% endif %}
Field Operations
Total Volunteers {{ metrics.volunteers_count }}
Total Interactions {{ metrics.interactions_count }}
{% if not is_block_walker or is_staff %}
Total Events {{ metrics.events_count }}
Event Attendees {{ metrics.total_event_attendees }}
{% endif %}
{% endif %}
{% endblock %}