{# templates/election/election_summary.html #} {% extends "template_base.html" %} {% block title %}{% if election %}{{ election.election_name }} {% if is_national_election and state_code %} - {{ state_code|upper }} {% else %} Summary {% endif %} {% else %}No Election Found{% endif %}{% endblock %} {% block content %} {% load template_filters %} {% if election %}
| Live? | Election Name | Date | Google Civic ID | Offices{% if election.offices_without_candidates_count %} (w/o Candidates){% endif %} |
Candidates{% if election.candidates_without_photo_count %} (w/o Photos){% endif %} |
Measures | Ballot Locations |
Voter Guides (Public Positions) |
|
|---|---|---|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {% if election.include_in_list_for_voters %}Yes{% endif %}{% if election.include_in_list_for_voters and election.election_preparation_finished %}, {% endif %} {% if election.election_preparation_finished %}DATA{% endif %}{% if election.include_in_list_for_voters or election.election_preparation_finished and election.candidate_photos_finished %}, {% endif %} {% if election.candidate_photos_finished %}PHOTOS{% endif %} |
{{ election.election_name }}
{% if is_national_election and state_code %}
for state {{ state_code|upper }}
{% endif %}
{% if election.internal_notes %}
{{ election.internal_notes|default_if_none:""|truncatechars:50 }} {% endif %} |
{{ election.election_day_text }} {% if election.days_until_election > 0 %} (in {{ election.days_until_election }} days){% endif %} | {{ election.google_civic_election_id }} | {% if election.offices_with_candidates_count %} {{ election.offices_with_candidates_count|default_if_none:"" }} {% endif %} {% if election.offices_without_candidates_count %} ({{ election.offices_without_candidates_count|default_if_none:"" }}) {% endif %} |
{% if election.candidate_count %}
{{ election.candidate_count|default_if_none:"" }}
{% endif %}
{% if election.candidates_without_photo_count %}
({{ election.candidates_without_photo_count|default_if_none:"" }}
{% if election.candidates_without_photo_percentage %}
: {{ election.candidates_without_photo_percentage|floatformat:"0" }}%{% endif %})
{% endif %}
{% if election.candidate_count %}
open json {% endif %} |
{% if election.measure_count %} {{ election.measure_count|default_if_none:"" }} {% endif %} | {% if election.ballot_returned_count %}{{ election.ballot_returned_count|default_if_none:"" }} {% if election.ballot_location_display_option_on_count %} / {{ election.ballot_location_display_option_on_count|default_if_none:"" }}{% endif %} {% endif %} {% if election.batches_not_processed %} {% if election.batches_not_processed_batch_set_id %} ({{ election.batches_not_processed|default_if_none:"" }}) {% else %} ({{ election.batches_not_processed|default_if_none:"" }}) {% endif %} {% endif %} | {% if election.voter_guides_count %} {{ election.voter_guides_count|default_if_none:"" }} {% endif %} {% if election.public_positions_count %} ({{ election.public_positions_count|default_if_none:"" }}) {% endif %} |
See Offices for this Election , See Candidates for this Election
{% if ballot_returned_list %} {{ ballot_returned_count_entire_election }} Ballot Returned Entries. These are ballots that voters can find from WebApp.| Ballot Returned ID | Display Name | Shortcut? | Text for Map Search | Lat/Long? | Offices & Candidates | Ballot Items | Voter | Map Point | |
|---|---|---|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {{ ballot_returned.we_vote_id }} | {% if ballot_returned.ballot_location_display_name %}{{ ballot_returned.ballot_location_display_name }}{% endif %} | {% if ballot_returned.ballot_location_shortcut %}{{ ballot_returned.ballot_location_shortcut }}{% endif %}{% if ballot_returned.ballot_location_display_option_on %} ON{% endif %} | {{ ballot_returned.text_for_map_search }} | {% if ballot_returned.latitude %}yes{% endif %} | {% if ballot_returned.office_and_candidate_text %}{{ ballot_returned.office_and_candidate_text }}{% endif %} | {% if ballot_returned.ballot_items_count %}{{ ballot_returned.ballot_items_count }}{% endif %} | {% if ballot_returned.voter_id and ballot_returned.voter_id != 0 %} {{ ballot_returned.voter_id }} {% endif %} | {% if ballot_returned.polling_location_we_vote_id %} {{ ballot_returned.polling_location_we_vote_id|default_if_none:"" }} {% endif %} |
(no ballot_returned data found)
{% endif %} {% if voter_ballot_saved_list %} {{ voter_ballot_saved_count_entire_election }} Voter Ballot Saved entries. There is one entry for every voter linking the voter to a ballot.| ID | Ballot Returned ID | Original Text for Map Search | Voter Id | Map Point | |
| {{ forloop.counter }} | {{ voter_ballot_saved.id }} | {% if voter_ballot_saved.ballot_returned_we_vote_id %} {{ voter_ballot_saved.ballot_returned_we_vote_id }} {% endif %} | {{ voter_ballot_saved.original_text_for_map_search }} | {% if voter_ballot_saved.voter_id and voter_ballot_saved.voter_id != 0 %} {{ voter_ballot_saved.voter_id }} {% endif %} | {% if voter_ballot_saved.polling_location_we_vote_id_source %} copied from {{ voter_ballot_saved.polling_location_we_vote_id_source }} {% endif %} |
(no voter_ballot_saved data found)
{% endif %}