{# 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 %}
{% else %} {% 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" %} {% 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 %}| {% 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 }} | {% if batch_header_map.batch_header_map_003 %}{{ batch_header_map.batch_header_map_003 }} | {% endif %} {% if batch_header_map.batch_header_map_004 %}{{ batch_header_map.batch_header_map_004 }} | {% endif %} {% if batch_header_map.batch_header_map_005 %}{{ batch_header_map.batch_header_map_005 }} | {% endif %} {% if batch_header_map.batch_header_map_006 %}{{ batch_header_map.batch_header_map_006 }} | {% endif %} {% if batch_header_map.batch_header_map_007 %}{{ batch_header_map.batch_header_map_007 }} | {% endif %} {% if batch_header_map.batch_header_map_008 %}{{ batch_header_map.batch_header_map_008 }} | {% endif %} {% if batch_header_map.batch_header_map_009 %}{{ batch_header_map.batch_header_map_009 }} | {% endif %} {% if batch_header_map.batch_header_map_010 %}{{ batch_header_map.batch_header_map_010 }} | {% endif %} {% if batch_header_map.batch_header_map_011 %}{{ batch_header_map.batch_header_map_011 }} | {% endif %} {% if batch_header_map.batch_header_map_012 %}{{ batch_header_map.batch_header_map_012 }} | {% endif %} {% if batch_header_map.batch_header_map_013 %}{{ batch_header_map.batch_header_map_013 }} | {% endif %} {% if batch_header_map.batch_header_map_014 %}{{ batch_header_map.batch_header_map_014 }} | {% endif %} {% if batch_header_map.batch_header_map_015 %}{{ batch_header_map.batch_header_map_015 }} | {% endif %} {% if batch_header_map.batch_header_map_016 %}{{ batch_header_map.batch_header_map_016 }} | {% endif %} {% if batch_header_map.batch_header_map_017 %}{{ batch_header_map.batch_header_map_017 }} | {% endif %} {% if batch_header_map.batch_header_map_018 %}{{ batch_header_map.batch_header_map_018 }} | {% endif %} {% if batch_header_map.batch_header_map_019 %}{{ batch_header_map.batch_header_map_019 }} | {% endif %} {% if batch_header_map.batch_header_map_020 %}{{ batch_header_map.batch_header_map_020 }} | {% endif %}|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ 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 }} | {% if batch_header_map.batch_header_map_003 %}{{ one_batch_row.batch_row_003|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_004 %}{{ one_batch_row.batch_row_004|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_005 %}{{ one_batch_row.batch_row_005|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_006 %}{{ one_batch_row.batch_row_006|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_007 %}{{ one_batch_row.batch_row_007|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_008 %}{{ one_batch_row.batch_row_008|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_009 %}{{ one_batch_row.batch_row_009|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_010 %}{{ one_batch_row.batch_row_010|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_011 %}{{ one_batch_row.batch_row_011|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_012 %}{{ one_batch_row.batch_row_012|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_013 %}{{ one_batch_row.batch_row_013|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_014 %}{{ one_batch_row.batch_row_014|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_015 %}{{ one_batch_row.batch_row_015|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_016 %}{{ one_batch_row.batch_row_016|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_017 %}{{ one_batch_row.batch_row_017|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_018 %}{{ one_batch_row.batch_row_018|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_019 %}{{ one_batch_row.batch_row_019|default_if_none:""|truncatechars:255 }} | {% endif %} {% if batch_header_map.batch_header_map_020 %}{{ one_batch_row.batch_row_020|default_if_none:""|truncatechars:255 }} | {% endif %}||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(no batches found)