{# templates/voter_guide/voter_guide_possibility_table.html #} {% load humanize %} {% if voter_guide_possibility_list %}
| Assigned to | Endorser/Candidate | Source | Ballot Items | View | Import | Date Submitted (PT) | Select | |
|---|---|---|---|---|---|---|---|---|
| {{ forloop.counter|add:starting_counter_number }} | {% if voter_guide_possibility.assigned_to_name %} {{ voter_guide_possibility.assigned_to_name }} {% endif %} |
{% if voter_guide_possibility.voter_guide_possibility_type == ORGANIZATION_ENDORSING_CANDIDATES or voter_guide_possibility.voter_guide_possibility_type == UNKNOWN_TYPE %}
{% if voter_guide_possibility.organization %}
{% if voter_guide_possibility.organization.we_vote_hosted_profile_image_url_tiny %}
{% if voter_guide_possibility.candidate.fetch_twitter_handle %} {{ voter_guide_possibility.candidate.fetch_twitter_handle }} {% endif %} {% else %} {% if voter_guide_possibility.candidate_name %} {{ voter_guide_possibility.candidate_name|default_if_none:"" }} {% else %} (no candidate name found) {% endif %} {% endif %} {% else %} (no org or candidate name found) {% endif %} |
{% include "voter_guide/voter_guide_dynamically_prefix_link_protocol.html" with link=voter_guide_possibility.voter_guide_possibility_url text=voter_guide_possibility.voter_guide_possibility_url|truncatechars:60 count=forloop.counter only %}
{% if voter_guide_possibility.contributor_comments or voter_guide_possibility.contributor_email %}
{% endif %} {% if voter_guide_possibility.contributor_comments %} From contributor: {{ voter_guide_possibility.contributor_comments }} {% endif %} {% if voter_guide_possibility.contributor_email %} ({{ voter_guide_possibility.contributor_email|default_if_none:"" }} ) {% endif %} {% if voter_guide_possibility.ballot_items_raw %} {{ voter_guide_possibility.ballot_items_raw|truncatechars:80 }} {% endif %} {% if voter_guide_possibility.organization.organization_email %} {{ voter_guide_possibility.organization.organization_email }} {% endif %} |
{% if voter_guide_possibility.number_of_ballot_items %}
{{ voter_guide_possibility.number_of_ballot_items|default_if_none:"" }} total {% endif %} {% if voter_guide_possibility.number_of_ballot_items_not_matched %} ({{ voter_guide_possibility.number_of_ballot_items_not_matched }} not matched) {% endif %} {% if voter_guide_possibility.number_of_endorsements_with_position %} ({{ voter_guide_possibility.number_of_endorsements_with_position }} stored) {% endif %} |
VIEW DETAILS |
{% if voter_guide_possibility.ignore_this_source %}
Ignore this Source
{% endif %} {% if voter_guide_possibility.cannot_find_endorsements %} Endorsements Not Available Yet {% endif %} {% if voter_guide_possibility.candidates_missing_from_we_vote %} Candidates/Measures Missing {% endif %} {% if voter_guide_possibility.capture_detailed_comments %} Capture Detailed Comments {% endif %} {% if voter_guide_possibility.positions_ready_to_save_as_batch %} IMPORT POSITIONS {% endif %} {% if voter_guide_possibility.batch_header_id %} import results {% endif %} {% if voter_guide_possibility.positions_ready_to_save_as_batch and voter_guide_possibility.internal_notes %} {% endif %} {% if voter_guide_possibility.internal_notes %} {{ voter_guide_possibility.internal_notes }} (edit) {% endif %} |
{{ voter_guide_possibility.date_last_changed|default_if_none:"" }}
{% if voter_guide_possibility.voter_who_submitted_we_vote_id and voter_guide_possibility.voter_who_submitted_name %}
by {{ voter_guide_possibility.voter_who_submitted_name|default_if_none:"" }} {% endif %} |
(no voter guide possibilities found)
{% endif %}