{# templates/voter_guide/voter_guide_list.html #} {% extends "template_base.html" %} {% block title %}Voter Guides{% endblock %} {% block content %} {% load template_filters %} {% load humanize %}
| Endorser | {% if sort_by == "twitter" %} Twitter {% else %} Twitter (click to sort) {% endif %} | {% if not google_civic_election_id %}Election | Election Day | {% endif %}Type | {% if show_statistics %}Public Positions |
Friends Only |
{% endif %}
Last Updated | we vote id | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {% if voter_guide.organization %}{% if voter_guide.we_vote_hosted_profile_image_url_tiny %}
|
{% if voter_guide.organization.organization_name %} {{ voter_guide.organization.organization_name }} {% else %}(name missing){% endif %} | {% else %}(no org found) | {% endif %}
{{ 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 %}
|
{% 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:"" }} |
{% if not google_civic_election_id %}
{{ voter_guide.google_civic_election_id|default_if_none:"" }} | {{ voter_guide.election_day_text|default_if_none:"" }} | {% endif %}{{ voter_guide.voter_guide_owner_type|default_if_none:"" }} | {% if show_statistics %}{% 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 %} | {% endif %}{{ voter_guide.last_updated }} | {{ voter_guide.we_vote_id }} | |
(no voter guides found)
{% endif %}