{# templates/voter_guide/voter_guide_create.html #} {% extends "template_base.html" %} {% block title %}{% if organization_found and organization %}{{ organization.organization_name }}: Endorsements{% elif candidate_found and candidate %}{{ candidate.candidate_name }}: Endorsers{% endif %}{% endblock %} {% block content %} {% load template_filters %} {% load humanize %}
{% csrf_token %} {% if organization_found and organization %}
{% if organization.we_vote_hosted_profile_image_url_tiny %} {% endif %} {{ organization.organization_name }} {% if has_suggested_voter_guide_rights and organization.we_vote_id %}   {% endif %}
{% if organization.organization_twitter_handle %} {{ organization.organization_twitter_handle }} {% if organization.twitter_followers_count %} ({{ organization.twitter_followers_count|intcomma }} followers) {% endif %}   {% endif %} {% if organization.organization_twitter_handle and organization.organization_website %}
{% endif %} {% if organization.organization_website %} {{ organization.organization_website }}   {% endif %}
{% elif candidate_found and candidate %}
{% if candidate.we_vote_hosted_profile_image_url_tiny %} {% endif %} {{ candidate.display_candidate_name }} {% if has_suggested_voter_guide_rights and candidate.display_candidate_name and candidate.we_vote_id %} {% endif %}
{% if candidate.fetch_twitter_handle %} {{ candidate.fetch_twitter_handle }}   {% endif %} {% if candidate.fetch_twitter_handle and candidate.candidate_url %}
{% endif %} {% if candidate.candidate_url %} {{ candidate.candidate_url }}   {% endif %}
{% endif %}{# if organization_found and organization #} {% if error_message %}

{{ error_message }}

{% endif %} {% if voter_guide_possibility_url %} {% else %}

Want to suggest endorsements you have found for candidates or measures?

{% endif %}
{% if organization_found or candidate_found %} {# Do not continue to offer the choice between kind-of-voter-guide #} {% else %}
{% endif %} {% if organization_found and organization %} {# Interface code for this is above #} {% elif organizations_list %}
{% for possible_organization in organizations_list %} {% endfor %}
Name Twitter / Website
{{ possible_organization.organization_name }} {% if possible_organization.organization_twitter_handle %} {{ possible_organization.organization_twitter_handle }} {% if possible_organization.organization_twitter_followers_count %} ({{ possible_organization.organization_twitter_followers_count|intcomma }} followers) {% endif %} {% endif %} {% if organization.organization_twitter_handle and organization.organization_website %}
{% endif %} {% if possible_organization.organization_website %} {{ possible_organization.organization_website }} {% endif %}
{% elif candidate_found and candidate %} {# Interface code for this is above #} {% elif owner_of_website_candidate_list %}
{% for possible_candidate in owner_of_website_candidate_list %} {# DALE 2019-08-01 This block needs to be updated for candidates #} {% endfor %}
Name Twitter / Website
{{ possible_candidate.display_candidate_name }} {% if possible_candidate.fetch_twitter_handle %} {{ possible_candidate.fetch_twitter_handle }} {% endif %} {% if possible_candidate.fetch_twitter_handle and possible_candidate.candidate_url %}
{% endif %} {% if possible_candidate.candidate_url %} {{ possible_candidate.candidate_url }} {% endif %}
{% else %}{# ABOVE THIS: if organization_found and organization AND elif organizations_list #} {% if voter_guide_possibility_url %} {% if type_of_website == "CandidateWebsite" %}
{% else %}
{% endif %} {% else %} {% if type_of_website == "CandidateWebsite" %} {% else %} {% endif %} {% endif %} {% endif %}{# ABOVE THIS: if organization_found and organization AND elif organizations_list #} {#{% if has_suggested_voter_guide_rights and state_list %}#} {#
#} {# #} {#
#} {# #} {#
#} {#
#} {#{% endif %}#} {% if has_suggested_voter_guide_rights %} {# Don't show comments or 'Your email' fields #} {% else %}
{% endif %} {% if possible_endorsement_list_found and not hide_possible_endorsement_list %}
{% if possible_endorsement_list %}
{% if type_of_website != "CandidateWebsite" %} {% for possible_endorsement in possible_endorsement_list %} {% include "voter_guide/voter_guide_one_candidate_confirmation.html" with organization_we_vote_id=organization_we_vote_id has_suggested_voter_guide_rights=has_suggested_voter_guide_rights possible_endorsement=possible_endorsement %} {% endfor %} {% else %} {% for possible_endorsement in possible_endorsement_list %} {% include "voter_guide/voter_guide_one_candidate_confirmation.html" with is_list_of_endorsements_for_candidate=type_of_website candidate_we_vote_id=candidate_we_vote_id candidate_name=candidate_name organization_we_vote_id=possible_endorsement.organization_we_vote_id has_suggested_voter_guide_rights=has_suggested_voter_guide_rights possible_endorsement=possible_endorsement %} {% endfor %} {% endif %}
{% endif %} {% if voter_guide_possibility_url %} {% if type_of_website != "CandidateWebsite" %}
{% else %}
{% endif %} {% endif %}
{% else %} {% if voter_guide_possibility_url %} {% if type_of_website != "CandidateWebsite" %}
{% else %}
{% endif %} {% else %} {% endif %} {% endif %} {% if has_suggested_voter_guide_rights and voter_guide_possibility_url %}
               
Target Election: {{ target_google_civic_election_id }}
{% endif %}
{% if voter_guide_possibility_url %} start over     {% endif %} {% if has_suggested_voter_guide_rights and voter_guide_possibility_id %}



{% if positions_ready_to_save_as_batch %} Import Positions {% else %} (Please make sure to specify the organization that took these positions, or the candidate who is sharing their endorsements.) {% endif %} {% if batch_header_id %} import batch results {% endif %} {% if possible_endorsement_list_found %}

{% endif %} {% endif %}
{% if has_suggested_voter_guide_rights and voter_guide_possibility_id %}

     


"Endorsements Not Available Yet" means: This organization hasn't posted their endorsements for the upcoming election yet, but it is worth coming back to this website later to find endorsements when they are posted.

"Capture Detailed Comments" means: There is detailed commentary about candidates or measures that we need to capture.

"Candidates/Measures Missing" means: The voter guide has candidates or measures that aren't in the We Vote database yet. Analyze this voter guide after we have added more offices/candidates/measures to the We Vote database.

"Stop Reviewing" means: There isn't any more data to extract from this website for upcoming election(s), so we want to take it off the Voter Guide Possibilities task list.

"Ignore this Website" means: This website URL is not a good place to find endorsements. No further review needed.

{% endif %}

{% endblock %}