{# templates/import_export_batches/batch_list.html #} {% extends "template_base.html" %} {% block title %} {% if kind_of_batch == "CANDIDATE" %} Import Candidates {% elif kind_of_batch == "CONTEST_OFFICE" %} Import Contest Offices {% elif kind_of_batch == "OFFICE_HELD" %} Import Offices Held {% elif kind_of_batch == "IMPORT_BALLOT_ITEM" %} Import Ballot at One Location {% elif kind_of_batch == "IMPORT_POLLING_LOCATION" %} Import Map Point {% elif kind_of_batch == "IMPORT_VOTER" %} Import Voter {% elif kind_of_batch == "MEASURE" %} Import Measures {% elif kind_of_batch == "ORGANIZATION" %} Import Endorsers {% elif kind_of_batch == "POLITICIAN" %} Import Politicians {% elif kind_of_batch == "POSITION" %} Import Positions {% else %} List of Batches {% endif %} {% endblock %} {% block content %} {% load template_filters %}
< Back to Import Batches Index
{% if kind_of_batch == "CANDIDATE" %}Current Candidates{% if google_civic_election_id > 0 %} for this Election{% endif %}
{% elif kind_of_batch == "CONTEST_OFFICE" %}Current Offices{% if google_civic_election_id > 0 %} for this Election{% endif %}
{% elif kind_of_batch == "OFFICE_HELD" %} {% elif kind_of_batch == "IMPORT_BALLOT_ITEM" %}Current Ballots{% if google_civic_election_id > 0 %} for this Election{% endif %}
{% elif kind_of_batch == "IMPORT_POLLING_LOCATION" %} {% elif kind_of_batch == "MEASURE" %}Current Measures{% if google_civic_election_id > 0 %} for this Election{% endif %}
{% elif kind_of_batch == "ORGANIZATION" %}Current Endorsers{% if google_civic_election_id > 0 %} for this Election{% endif %}
{% elif kind_of_batch == "POLITICIAN" %} {% elif kind_of_batch == "POSITION" %}Current Positions{% if google_civic_election_id > 0 %} for this Election{% endif %}
{% endif %} {% if not kind_of_batch %}| # | Batch Header ID: Batch Name | Action | Election | Other ID | Total Records | Analyzed / Stored | Date Created (GMT) |
|---|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {{ one_batch.batch_name }} | review, export-csv, batch_row-export-csv | {% for election in election_list %} {% if election.google_civic_election_id|slugify == one_batch.google_civic_election_id|slugify %} {{ election.election_name }} - {{ election.google_civic_election_id }} - {{ election.election_day_text }} {% endif %} {% endfor %} | {% if one_batch.polling_location_we_vote_id %} {{ one_batch.polling_location_we_vote_id }} {% elif one_batch.organization_we_vote_id %} {{ one_batch.organization_we_vote_id }} {% endif %} | {{ one_batch.batch_row_count }} | {{ one_batch.batch_row_action_count }} / {{ one_batch.batch_row_action_to_update_count }} | {{ one_batch.date_created }} |
(no batches found)