{# templates/import_export_batches/batch_action_list.html #} {% extends "template_base.html" %} {% block title %} {% if kind_of_batch == "CANDIDATE" %} Process Candidate Data {% elif kind_of_batch == "CONTEST_OFFICE" %} Process Contest Office Data {% elif kind_of_batch == "OFFICE_HELD" %} Process Office Held Data {% 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 == "MEASURE" %} Process Measure Data {% elif kind_of_batch == "ORGANIZATION" %} Process Endorser Data {% elif kind_of_batch == "POLITICIAN" %} Process Politician Data {% elif kind_of_batch == "POSITION" %} Process Position Data {% else %} Process Data {% endif %} {% endblock %} {% block content %} {% load template_filters %} {% if batch_set_id %}

Back to Batch Set

{% else %}

< Back to Batch List

{% endif %} {% 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" %}

Map Points

{% 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 %}

Import Batches

To import, you must choose the kind of data you are importing: Ballot at One Location - Candidate - Contest Office - Office Held - Measure - Endorser - Politician - Map Point - Position {% else %}

{% if kind_of_batch == "IMPORT_BALLOT_ITEM" %} Ballot at One Location: {% elif kind_of_batch == "CANDIDATE" %} Process Candidate Data: {% elif kind_of_batch == "OFFICE_HELD" %} Process Office Held Data: {% elif kind_of_batch == "CONTEST_OFFICE" %} Process Contest Office Data: {% elif kind_of_batch == "IMPORT_VOTER" %} Import/Export Voter: {% elif kind_of_batch == "MEASURE" %} Process Measure Data: {% elif kind_of_batch == "ORGANIZATION" %} Process Endorser Data: {% elif kind_of_batch == "POLITICIAN" %} Process Politician Data: {% elif kind_of_batch == "IMPORT_POLLING_LOCATION" %} Process Map Point Data: {% elif kind_of_batch == "POSITION" %} Process Position Data: {% else %} Kind of batch_action_list data not recognized: Please STOP {% endif %} {{ batch_description.batch_name }}

{% if state_list %}
{% csrf_token %}
{% endif %}{# End of if state_list #} {% if election_list and election_list|length %}
{% for election in election_list %} {% if election.google_civic_election_id|slugify == batch_description.google_civic_election_id|slugify %} {{ election.election_name }} - {{ election.google_civic_election_id }} - {{ election.election_day_text }} {% endif %} {% endfor %}
{% endif %}{# End of if election_list #} {% if batch_description.batch_set_id %}
{% csrf_token %}
{% endif %}{# End of if assign election #} {% if polling_location_we_vote_id %}
{{ polling_location_we_vote_id }}
{% endif %}{# End of if polling_location_we_vote_id #} {% if kind_of_batch == "IMPORT_BALLOT_ITEM" %} {# TODO Add a way to select a map point, if one doesn't exist #} {% endif %}
{% csrf_token %}
{% csrf_token %}
{% csrf_token %}
{# Delete #}
              
{% csrf_token %}
{% csrf_token %}
{% endif %} {% if batch_row_list %} {% for one_batch_row in batch_row_list %} {% if forloop.counter == 1 or forloop.counter|divisibleby:10 %} {# Show the header every ~9 lines #} {% if batch_header_map.batch_header_map_003 %}{% endif %} {% if batch_header_map.batch_header_map_004 %}{% endif %} {% if batch_header_map.batch_header_map_005 %}{% endif %} {% if batch_header_map.batch_header_map_006 %}{% endif %} {% if batch_header_map.batch_header_map_007 %}{% endif %} {% if batch_header_map.batch_header_map_008 %}{% endif %} {% if batch_header_map.batch_header_map_009 %}{% endif %} {% if batch_header_map.batch_header_map_010 %}{% endif %} {% if batch_header_map.batch_header_map_011 %}{% endif %} {% if batch_header_map.batch_header_map_012 %}{% endif %} {% if batch_header_map.batch_header_map_013 %}{% endif %} {% if batch_header_map.batch_header_map_014 %}{% endif %} {% if batch_header_map.batch_header_map_015 %}{% endif %} {% if batch_header_map.batch_header_map_016 %}{% endif %} {% if batch_header_map.batch_header_map_017 %}{% endif %} {% if batch_header_map.batch_header_map_018 %}{% endif %} {% if batch_header_map.batch_header_map_019 %}{% endif %} {% if batch_header_map.batch_header_map_020 %}{% endif %} {% endif %} {% if batch_header_map.batch_header_map_003 %}{% endif %} {% if batch_header_map.batch_header_map_004 %}{% endif %} {% if batch_header_map.batch_header_map_005 %}{% endif %} {% if batch_header_map.batch_header_map_006 %}{% endif %} {% if batch_header_map.batch_header_map_007 %}{% endif %} {% if batch_header_map.batch_header_map_008 %}{% endif %} {% if batch_header_map.batch_header_map_009 %}{% endif %} {% if batch_header_map.batch_header_map_010 %}{% endif %} {% if batch_header_map.batch_header_map_011 %}{% endif %} {% if batch_header_map.batch_header_map_012 %}{% endif %} {% if batch_header_map.batch_header_map_013 %}{% endif %} {% if batch_header_map.batch_header_map_014 %}{% endif %} {% if batch_header_map.batch_header_map_015 %}{% endif %} {% if batch_header_map.batch_header_map_016 %}{% endif %} {% if batch_header_map.batch_header_map_017 %}{% endif %} {% if batch_header_map.batch_header_map_018 %}{% endif %} {% if batch_header_map.batch_header_map_019 %}{% endif %} {% if batch_header_map.batch_header_map_020 %}{% endif %} {% if one_batch_row.batch_row_action_exists %} {% endif %}{% endfor %}
{% if forloop.counter == 1 %} (edit header map) {% endif %} {{ batch_header_map.batch_header_map_000 }} {{ batch_header_map.batch_header_map_001 }} {{ batch_header_map.batch_header_map_002 }}{{ batch_header_map.batch_header_map_003 }}{{ batch_header_map.batch_header_map_004 }}{{ batch_header_map.batch_header_map_005 }}{{ batch_header_map.batch_header_map_006 }}{{ batch_header_map.batch_header_map_007 }}{{ batch_header_map.batch_header_map_008 }}{{ batch_header_map.batch_header_map_009 }}{{ batch_header_map.batch_header_map_010 }}{{ batch_header_map.batch_header_map_011 }}{{ batch_header_map.batch_header_map_012 }}{{ batch_header_map.batch_header_map_013 }}{{ batch_header_map.batch_header_map_014 }}{{ batch_header_map.batch_header_map_015 }}{{ batch_header_map.batch_header_map_016 }}{{ batch_header_map.batch_header_map_017 }}{{ batch_header_map.batch_header_map_018 }}{{ batch_header_map.batch_header_map_019 }}{{ batch_header_map.batch_header_map_020 }}
{{ forloop.counter }} {% if one_batch_row.batch_row_action.kind_of_action == "IMPORT_DELETE" %} {% elif one_batch_row.batch_row_action.kind_of_action == "IMPORT_ALREADY_DELETED" %} {% else %} Analyze {% endif %} {% if one_batch_row.state_code %}
state: {{ one_batch_row.state_code }} {% endif %} {% if one_batch_row.google_civic_election_id %}
eid: {{ one_batch_row.google_civic_election_id }} {% endif %}
{{ one_batch_row.batch_row_000|default_if_none:""|truncatechars:255 }} {{ one_batch_row.batch_row_001|default_if_none:""|truncatechars:255 }} {{ one_batch_row.batch_row_002|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_003|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_004|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_005|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_006|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_007|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_008|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_009|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_010|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_011|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_012|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_013|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_014|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_015|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_016|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_017|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_018|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_019|default_if_none:""|truncatechars:255 }}{{ one_batch_row.batch_row_020|default_if_none:""|truncatechars:255 }}
  {% if one_batch_row.kind_of_batch == "CANDIDATE" %} {# ####################################### #} {# ### CANDIDATE ### #} {# ####################################### #} {% if one_batch_row.batch_row_action.status %} {% endif %} {% elif one_batch_row.kind_of_batch == "CONTEST_OFFICE" %} {# ####################################### #} {# ### CONTEST_OFFICE ### #} {# ####################################### #} {% if one_batch_row.batch_row_action.status %} {% endif %} {% elif one_batch_row.kind_of_batch == "OFFICE_HELD" %} {# ####################################### #} {# ### OFFICE_HELD ### #} {# ####################################### #} {% if one_batch_row.batch_row_action.status %} {% endif %} {% elif one_batch_row.kind_of_batch == "MEASURE" %} {# ####################################### #} {# ### MEASURE ### #} {# ####################################### #} {% if one_batch_row.batch_row_action.status %} {% endif %} {% elif one_batch_row.kind_of_batch == "ORGANIZATION" %} {# ####################################### #} {# ### ORGANIZATION ### #} {# ####################################### #} {% if one_batch_row.batch_row_action.status %} {% endif %} {% elif one_batch_row.kind_of_batch == "POLITICIAN" %} {# ####################################### #} {# ### POLITICIAN ### #} {# ####################################### #} {% if one_batch_row.batch_row_action.status %} {% endif %} {% elif one_batch_row.kind_of_batch == "IMPORT_POLLING_LOCATION" %} {# ####################################### #} {# ### IMPORT_POLLING_LOCATION ### #} {# ####################################### #} {% if one_batch_row.batch_row_action.status %} {% endif %} {% elif one_batch_row.kind_of_batch == "POSITION" %} {# ####################################### #} {# ### POSITION ### #} {# ####################################### #} {% if one_batch_row.batch_row_action.status %} {% endif %} {% elif one_batch_row.kind_of_batch == "IMPORT_BALLOT_ITEM" %} {# ####################################### #} {# ### IMPORT_BALLOT_ITEM ### #} {# ####################################### #} {% if one_batch_row.batch_row_action.status %} {% endif %} {% endif %}
candidate name office name google civic election id state_code party name twitter_handle facebook email website incumbent
{# Based on the results of analysis, show button to do the action #} {% if one_batch_row.batch_row_action.kind_of_action == "IMPORT_CREATE" %}
{% csrf_token %}
{% elif one_batch_row.batch_row_action.kind_of_action == "IMPORT_ADD_TO_EXISTING" %}
{% csrf_token %} {{ one_batch_row.batch_row_action.candidate_we_vote_id }}
{% else %} {{ one_batch_row.batch_row_action.kind_of_action }} {% endif %}
{% if one_batch_row.batch_row_action.photo_url %}

{% endif %} {{ one_batch_row.batch_row_action.candidate_name|default_if_none:"" }} {% if one_batch_row.batch_row_action.ballotpedia_candidate_name %}
bp: {{ one_batch_row.batch_row_action.ballotpedia_candidate_name|default_if_none:"" }} {% endif %}
{{ one_batch_row.batch_row_action.contest_office_name|default_if_none:"" }} {% if one_batch_row.batch_row_action.contest_office_we_vote_id %} ({{ one_batch_row.batch_row_action.contest_office_we_vote_id|default_if_none:"" }}) {% endif %} {% if one_batch_row.batch_row_action.kind_of_action == "IMPORT_TO_BE_DETERMINED" %}
Search for Office {% endif %} {% if one_batch_row.batch_row_action.batch_row_action_office_ctcl_uuid %}
office: {{ one_batch_row.batch_row_action.batch_row_action_office_ctcl_uuid|default_if_none:"" }} {% endif %}
{{ one_batch_row.batch_row_action.google_civic_election_id|default_if_none:"" }} {% if one_batch_row.batch_row_action.ballotpedia_election_id %}
bp: {{ one_batch_row.batch_row_action.ballotpedia_election_id|default_if_none:"" }} {% endif %}
{{ one_batch_row.batch_row_action.state_code|default_if_none:"" }} {{ one_batch_row.batch_row_action.party|default_if_none:"" }} {{ one_batch_row.batch_row_action.candidate_twitter_handle|default_if_none:"" }} {{ one_batch_row.batch_row_action.facebook_url|default_if_none:"" }} {{ one_batch_row.batch_row_action.candidate_email|default_if_none:"" }} url: {{ one_batch_row.batch_row_action.candidate_url|default_if_none:"" }}
bp: {{ one_batch_row.batch_row_action.ballotpedia_candidate_url|default_if_none:"" }}
form: {{ one_batch_row.batch_row_action.candidate_contact_form_url|default_if_none:"" }}
{{ one_batch_row.batch_row_action.candidate_is_incumbent|default_if_none:"" }}
STATUS: {{ one_batch_row.batch_row_action.status }}
office name election state_code district id district name ocd id
{# Based on the results of analysis, show button to do the action #} {% if one_batch_row.batch_row_action.kind_of_action == "IMPORT_CREATE" %}
{% csrf_token %}
{% elif one_batch_row.batch_row_action.kind_of_action == "IMPORT_ADD_TO_EXISTING" %}
{% csrf_token %} {{ one_batch_row.batch_row_action.contest_office_we_vote_id }}
{% else %} {{ one_batch_row.batch_row_action.kind_of_action }} {% endif %}
{{ one_batch_row.batch_row_action.contest_office_name|default_if_none:"" }} {% if one_batch_row.batch_row_action.contest_office_we_vote_id %} ({{ one_batch_row.batch_row_action.contest_office_we_vote_id|default_if_none:"" }} ) {% endif %} {{ one_batch_row.batch_row_action.google_civic_election_id|default_if_none:"" }} {% if one_batch_row.batch_row_action.ballotpedia_election_id %}
bp: {{ one_batch_row.batch_row_action.ballotpedia_election_id|default_if_none:"" }} {% endif %}
{{ one_batch_row.batch_row_action.state_code|default_if_none:"" }} {{ one_batch_row.batch_row_action.district_id|default_if_none:"" }} {% if one_batch_row.batch_row_action.ballotpedia_district_id %}
bp: {{ one_batch_row.batch_row_action.ballotpedia_district_id|default_if_none:"" }} {% endif %}
{{ one_batch_row.batch_row_action.district_name|default_if_none:"" }} {{ one_batch_row.batch_row_action.ocd_division_id|default_if_none:"" }}
STATUS: {{ one_batch_row.batch_row_action.status }}
name state_code
{# Based on the results of analysis, show button to do the action #} {% if one_batch_row.batch_row_action.kind_of_action == "IMPORT_CREATE" %}
{% csrf_token %}
{% elif one_batch_row.batch_row_action.kind_of_action == "IMPORT_ADD_TO_EXISTING" %}
{% csrf_token %}
{% else %} {{ one_batch_row.batch_row_action.kind_of_action }} {% endif %}
{{ one_batch_row.batch_row_action.office_held_name|default_if_none:"" }} {{ one_batch_row.batch_row_action.state_code|default_if_none:"" }}
STATUS: {{ one_batch_row.batch_row_action.status }}
measure_title election id state_code district id measure_subtitle ballotpedia_measure_url ballotpedia_yes_vote_description ballotpedia_no_vote_description
{# Based on the results of analysis, show button to do the action #} {% if one_batch_row.batch_row_action.kind_of_action == "IMPORT_CREATE" %}
{% csrf_token %}
{% elif one_batch_row.batch_row_action.kind_of_action == "IMPORT_ADD_TO_EXISTING" %}
{% csrf_token %} {{ one_batch_row.batch_row_action.measure_we_vote_id }}
{% else %} {{ one_batch_row.batch_row_action.kind_of_action }} {% endif %}
{{ one_batch_row.batch_row_action.measure_title|default_if_none:"" }} {% if one_batch_row.batch_row_action.measure_we_vote_id %} ({{ one_batch_row.batch_row_action.measure_we_vote_id|default_if_none:"" }} ) {% endif %} {% if one_batch_row.batch_row_action.ballotpedia_measure_id %}
ballotpedia_measure_id: {{ one_batch_row.batch_row_action.ballotpedia_measure_id|default_if_none:"" }} {% endif %}
{{ one_batch_row.batch_row_action.google_civic_election_id|default_if_none:"" }} {% if one_batch_row.batch_row_action.ballotpedia_election_id %}
bp: {{ one_batch_row.batch_row_action.ballotpedia_election_id|default_if_none:"" }} {% endif %}
{{ one_batch_row.batch_row_action.state_code|default_if_none:"" }} {{ one_batch_row.batch_row_action.district_id|default_if_none:"" }} {% if one_batch_row.batch_row_action.ballotpedia_district_id %}
bp: {{ one_batch_row.batch_row_action.ballotpedia_district_id|default_if_none:"" }} {% endif %}
{{ one_batch_row.batch_row_action.measure_subtitle|default_if_none:"" }} {{ one_batch_row.batch_row_action.ballotpedia_measure_url|default_if_none:"" }} {{ one_batch_row.batch_row_action.ballotpedia_yes_vote_description|default_if_none:"" }} {{ one_batch_row.batch_row_action.ballotpedia_no_vote_description|default_if_none:"" }}
STATUS: {{ one_batch_row.batch_row_action.status }}
name twitter facebook instagram address city state zip phone1 website type state_served_code contact
{# Based on the results of analysis, show button to do the action #} {% if one_batch_row.batch_row_action.kind_of_action == "IMPORT_CREATE" %}
{% csrf_token %}
{% elif one_batch_row.batch_row_action.kind_of_action == "IMPORT_ADD_TO_EXISTING" %}
{% csrf_token %} {{ one_batch_row.batch_row_action.organization_we_vote_id }}
{% else %} {{ one_batch_row.batch_row_action.kind_of_action }} {% endif %}
{{ one_batch_row.batch_row_action.organization_name|default_if_none:"" }} {{ one_batch_row.batch_row_action.organization_twitter_handle|default_if_none:"" }} {{ one_batch_row.batch_row_action.organization_facebook|default_if_none:"" }} {{ one_batch_row.batch_row_action.organization_instagram_handle|default_if_none:"" }} {{ one_batch_row.batch_row_action.organization_address|default_if_none:"" }} {{ one_batch_row.batch_row_action.organization_city|default_if_none:"" }} {{ one_batch_row.batch_row_action.organization_state|default_if_none:"" }} {{ one_batch_row.batch_row_action.organization_zip|default_if_none:"" }} {{ one_batch_row.batch_row_action.organization_phone1|default_if_none:"" }} {{ one_batch_row.batch_row_action.organization_website|default_if_none:"" }} {{ one_batch_row.batch_row_action.organization_type|default_if_none:"" }} {{ one_batch_row.batch_row_action.state_served_code|default_if_none:"" }} {{ one_batch_row.batch_row_action.organization_contact_name|default_if_none:"" }}
STATUS: {{ one_batch_row.batch_row_action.status }}
politician name state_code party twitter email url
{# Based on the results of analysis, show button to do the action #} {% if one_batch_row.batch_row_action.kind_of_action == "IMPORT_CREATE" %}
{% csrf_token %}
{% elif one_batch_row.batch_row_action.kind_of_action == "IMPORT_ADD_TO_EXISTING" %}
{% csrf_token %} {{ one_batch_row.batch_row_action.contest_office_we_vote_id }}
{% else %} {{ one_batch_row.batch_row_action.kind_of_action }} {% endif %}
{{ one_batch_row.batch_row_action.politician_name|default_if_none:"" }} {% if one_batch_row.batch_row_action.contest_office_we_vote_id %} ({{ one_batch_row.batch_row_action.politician_we_vote_id|default_if_none:"" }}) {% endif %} {{ one_batch_row.batch_row_action.state_code|default_if_none:"" }} {{ one_batch_row.batch_row_action.political_party|default_if_none:"" }} {{ one_batch_row.batch_row_action.politician_twitter_handle|default_if_none:"" }} {% if one_batch_row.batch_row_action.politician_twitter_handle2 %}
{{ one_batch_row.batch_row_action.politician_twitter_handle2|default_if_none:"" }} {% endif %} {% if one_batch_row.batch_row_action.politician_twitter_handle3 %}
{{ one_batch_row.batch_row_action.politician_twitter_handle3|default_if_none:"" }} {% endif %} {% if one_batch_row.batch_row_action.politician_twitter_handle4 %}
{{ one_batch_row.batch_row_action.politician_twitter_handle4|default_if_none:"" }} {% endif %} {% if one_batch_row.batch_row_action.politician_twitter_handle5 %}
{{ one_batch_row.batch_row_action.politician_twitter_handle5|default_if_none:"" }} {% endif %}
{{ one_batch_row.batch_row_action.politician_email|default_if_none:"" }} {{ one_batch_row.batch_row_action.politician_email2|default_if_none:"" }} {{ one_batch_row.batch_row_action.politician_email3|default_if_none:"" }} {{ one_batch_row.batch_row_action.politician_url|default_if_none:"" }}
STATUS: {{ one_batch_row.batch_row_action.status }}
location line1 city state ZIP source code county precinct
{# Based on the results of analysis, show button to do the action #} {% if one_batch_row.batch_row_action.kind_of_action == "IMPORT_CREATE" %}
{% csrf_token %}
{% elif one_batch_row.batch_row_action.kind_of_action == "IMPORT_ADD_TO_EXISTING" %}
{% csrf_token %} {{ one_batch_row.batch_row_action.contest_office_we_vote_id }}
{% else %} {{ one_batch_row.batch_row_action.kind_of_action }} {% endif %}
{{ one_batch_row.batch_row_action.location_name|default_if_none:"" }} {{ one_batch_row.batch_row_action.line1|default_if_none:"" }} {{ one_batch_row.batch_row_action.city|default_if_none:"" }} {{ one_batch_row.batch_row_action.state|default_if_none:"" }} {{ one_batch_row.batch_row_action.zip_long|default_if_none:"" }} {{ one_batch_row.batch_row_action.source_code|default_if_none:"" }} {{ one_batch_row.batch_row_action.county_name|default_if_none:"" }} {{ one_batch_row.batch_row_action.precinct_name|default_if_none:"" }}
STATUS: {{ one_batch_row.batch_row_action.status }}
ballot item name office speaker_display_name speaker_twitter stance statement more_info_url
{# Based on the results of analysis, show button to do the action #} {% if one_batch_row.batch_row_action.kind_of_action == "IMPORT_CREATE" %}
{% csrf_token %}
{% elif one_batch_row.batch_row_action.kind_of_action == "IMPORT_ADD_TO_EXISTING" %}
{% csrf_token %}
{% else %} {{ one_batch_row.batch_row_action.kind_of_action }} {% endif %}
{{ one_batch_row.batch_row_action.ballot_item_display_name|default_if_none:"" }} {% if one_batch_row.batch_row_action.candidate_campaign_we_vote_id %} ( {{ one_batch_row.batch_row_action.candidate_campaign_we_vote_id }} ) {% elif one_batch_row.batch_row_action.contest_measure_we_vote_id %} ( {{ one_batch_row.batch_row_action.contest_measure_we_vote_id }} ) {% endif %} {{ one_batch_row.batch_row_action.contest_office_name|default_if_none:"" }} {% if one_batch_row.batch_row_action.contest_office_we_vote_id %} ({{ one_batch_row.batch_row_action.contest_office_we_vote_id }}) {% endif %} {% if one_batch_row.batch_row_action.organization_we_vote_id %} {{ one_batch_row.batch_row_action.speaker_display_name|default_if_none:"" }} {% endif %} {{ one_batch_row.batch_row_action.speaker_twitter_handle|default_if_none:"" }} {{ one_batch_row.batch_row_action.stance|default_if_none:"" }} {{ one_batch_row.batch_row_action.statement_text|default_if_none:""|truncatechars:125 }} {{ one_batch_row.batch_row_action.more_info_url|default_if_none:"" }}
STATUS: {{ one_batch_row.batch_row_action.status }}
local ballot order ballot item display name election state map point yes vote description no vote description
{# Based on the results of analysis, show button to do the action #}
{% csrf_token %} {% if one_batch_row.batch_row_action.kind_of_action == "IMPORT_CREATE" %} {% elif one_batch_row.batch_row_action.kind_of_action == "IMPORT_ADD_TO_EXISTING" %} {% elif one_batch_row.batch_row_action.kind_of_action == "IMPORT_DELETE" %} {% elif one_batch_row.batch_row_action.kind_of_action == "IMPORT_ALREADY_DELETED" %} Already Deleted {% else %} {{ one_batch_row.batch_row_action.kind_of_action }} {% endif %}
{{ one_batch_row.batch_row_action.local_ballot_order|default_if_none:"" }} {{ one_batch_row.batch_row_action.ballot_item_display_name|default_if_none:"" }} {% if one_batch_row.batch_row_action.contest_office_we_vote_id %} ({{ one_batch_row.batch_row_action.contest_office_we_vote_id|default_if_none:"" }}) {% elif one_batch_row.batch_row_action.measure_we_vote_id %} ({{ one_batch_row.batch_row_action.measure_we_vote_id|default_if_none:"" }}) {% endif %} {{ one_batch_row.batch_row_action.google_civic_election_id|default_if_none:"" }} {{ one_batch_row.batch_row_action.state_code|default_if_none:"" }} {{ one_batch_row.batch_row_action.polling_location_we_vote_id|default_if_none:"" }} {{ one_batch_row.batch_row_action.yes_vote_description|default_if_none:"" }} {{ one_batch_row.batch_row_action.no_vote_description|default_if_none:"" }}
STATUS: {{ one_batch_row.batch_row_action.status }}

show all {% else %}


(no batches found)

{% endif %} {% endblock %}