{# templates/import_export_batches/batch_set_action_list.html #} {% extends "template_base.html" %} {% block title %}List of Batches{% endblock %} {% block content %} {% load template_filters %}

< Back to Batch Set List

{% if kind_of_batch == "MEASURE" %} Process Measure 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 == "CANDIDATE" %} Process Candidate Data {% elif kind_of_batch == "ORGANIZATION" %} Process Endorser Data {% elif kind_of_batch == "POSITION" %} Process Position Data {% elif kind_of_batch == "POLITICIAN" %} Process Politician Data {% else %} Kind of data not recognized: Please STOP {% endif %} : {{ batch_description.batch_name }}

{% csrf_token %} {% if election_list %}
{% 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 #}
{% csrf_token %}
{% csrf_token %}
{% if batch_row_list %} {% 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 %} {% for one_batch_row in batch_row_list %} {% 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 one_batch_row.batch_row_action_exists %} {% endif %}{% endfor %}
{{ 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 }} 
{{ one_batch_row.batch_row_000 }} {{ one_batch_row.batch_row_001 }} {{ one_batch_row.batch_row_002 }}{{ one_batch_row.batch_row_003 }}{{ one_batch_row.batch_row_004 }}{{ one_batch_row.batch_row_005 }}{{ one_batch_row.batch_row_006 }}{{ one_batch_row.batch_row_007 }}{{ one_batch_row.batch_row_008 }}{{ one_batch_row.batch_row_009 }}{{ one_batch_row.batch_row_010 }}{{ one_batch_row.batch_row_011 }}{{ one_batch_row.batch_row_012 }}{{ one_batch_row.batch_row_013 }} Analyze
{% if one_batch_row.kind_of_batch == "ORGANIZATION" %} {# ### ORGANIZATION ### #} {% elif one_batch_row.kind_of_batch == "MEASURE" %} {# ### MEASURE### #} {% elif one_batch_row.kind_of_batch == "OFFICE_HELD" %} {# ### OFFICE### #} {% elif one_batch_row.kind_of_batch == "CONTEST_OFFICE" %} {# ### MEASURE### #} {% elif one_batch_row.kind_of_batch == "POLITICIAN" %} {# ### POLITICIAN### #} {% endif %}
organization_name state_served_code ALERTS ACTIONS
analysis: {{ one_batch_row.batch_row_action.organization_name }} {{ one_batch_row.batch_row_action.state_served_code }}
measure_title measure_subtitle state_code ALERTS ACTIONS
analysis: {{ one_batch_row.batch_row_action.measure_title}} {{ one_batch_row.batch_row_action.measure_subtitle}} {{ one_batch_row.batch_row_action.state_code }} {{ one_batch_row.batch_row_action.kind_of_action }}
office_held_name state_code ALERTS ACTIONS Import
analysis: {{ one_batch_row.batch_row_action.office_held_name}} {{ one_batch_row.batch_row_action.state_code }} {{ one_batch_row.batch_row_action.kind_of_action }} Import into OfficeHeld Table
contest_office_name state_code ALERTS ACTIONS
analysis: {{ one_batch_row.batch_row_action.contest_office_name}} {{ one_batch_row.batch_row_action.state_code }} {{ one_batch_row.batch_row_action.kind_of_action }}
politician_name politician_twitter_handle ALERTS ACTIONS
analysis: {{ one_batch_row.batch_row_action.politician_name}} {{ one_batch_row.batch_row_action.politician_twitter_handle}} {% 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.kind_of_action }}

{% else %}


(no batches found)

{% endif %} {% endblock %}