{# templates/voter_guide/voter_guide_list.html #} {% extends "template_base.html" %} {% block title %}Voter Guides{% endblock %} {% block content %} {% load template_filters %} {% load humanize %}

Voter Guides

{% csrf_token %} {% if election_list %} {% else %} (no elections found) {% endif %} {# Default to showing only upcoming elections #}      {# Default to excluding voter guides for individuals #}           {% if voter_guide_search %} clear search  {% endif %}

{% if voter_guide_list %} {% for voter_guide in voter_guide_list %} {% if forloop.counter == 1 or forloop.counter|divisibleby:16 %} {# Show the header every ~15 lines #} {% if not google_civic_election_id %} {% endif %} {% if show_statistics %} {% endif %} {% endif %} {% if voter_guide.organization %} {% else %} {% endif %} {% if not google_civic_election_id %} {% endif %} {% if show_statistics %} {% endif %} {% endfor %}
  Endorser {% if sort_by == "twitter" %} Twitter {% else %} Twitter (click to sort) {% endif %} Election Election DayTypePublic
Positions
Friends
Only
Last Updated we vote id
{{ forloop.counter }}{% if voter_guide.we_vote_hosted_profile_image_url_tiny %} {% endif %} {% if voter_guide.organization.organization_name %} {{ voter_guide.organization.organization_name }} {% else %}(name missing){% endif %} (no org found) {{ voter_guide.organization_we_vote_id|default_if_none:"" }} {% if voter_guide.owner_we_vote_id %}
{{ voter_guide.owner_we_vote_id|default_if_none:"" }} {% endif %} {% if voter_guide.organization %}
{% if voter_guide.organization.issue_analysis_done %} analyzed  {% else %} not analyzed {% endif %} {% endif %}
{% if voter_guide.issue_list %} {% for issue in voter_guide.issue_list %} {% if issue.issue_icon_local_path %} {{ issue.issue_name }} {% else %} {{ issue.issue_name|slice:":3" }} {% endif %} {% endfor %} {% endif %} {% if voter_guide.twitter_handle %} {{ voter_guide.twitter_handle }} ({{ voter_guide.twitter_followers_count|intcomma }})   {% endif %} {% if voter_guide.twitter_handle and voter_guide.organization.organization_email %}
{% endif %} {{ voter_guide.organization.organization_email|default_if_none:"" }}
{{ voter_guide.google_civic_election_id|default_if_none:"" }} {{ voter_guide.election_day_text|default_if_none:"" }}{{ voter_guide.voter_guide_owner_type|default_if_none:"" }} {% if voter_guide.number_of_public_positions %} {{ voter_guide.number_of_public_positions|default_if_none:"" }} {% endif %} {% if voter_guide.number_of_friends_only_positions %} {{ voter_guide.number_of_friends_only_positions|default_if_none:"" }} {% endif %} {{ voter_guide.last_updated }} {{ voter_guide.we_vote_id }}
{% if show_all %} show fewer {% else %} show all {% endif %} {% else %}

(no voter guides found)

{% endif %}



{% endblock %}