{# templates/candidate/candidate_summary.html #} {% extends "template_base.html" %} {% block title %}{% if candidate %}{{ candidate.candidate_name }} Summary{% else %}No Candidate Found{% endif %}{% endblock %} {% block content %} < Back to Candidates {% if candidate %}
| Candidate We Vote ID: | {{ candidate.we_vote_id }} (delete candidate) {% if candidate.politician_we_vote_id %} {{ candidate.politician_we_vote_id }} {% else %} Match to Politician {% endif %} | ||||
|
Candidate to Office Link:
{% if candidate.candidate_ultimate_election_date or candidate.candidate_year %}
{% endif %} {% if candidate.candidate_year %} {{ candidate.candidate_year }} {% endif %} {% if candidate.candidate_ultimate_election_date %} {{ candidate.candidate_ultimate_election_date }} {% endif %} {% if candidate_to_office_link_list|length == 2 %} Compare Offices {% endif %} {% if candidate.is_battleground_race %} Competitive Race {% endif %} |
OLD Google Civic Election ID: {{ candidate.google_civic_election_id }}
|
||||
| Candidate Year: | {{ candidate.candidate_year }} | ||||
| Contest Office: | {{ candidate.contest_office_name }} {% if candidate.contest_office_id %} (Go){% endif %} | ||||
| Office We Vote ID: | {{ candidate.contest_office_we_vote_id }} | ||||
| Candidate Website: | {{ candidate.candidate_url|default_if_none:"" }} | ||||
| Candidate Contact Form: | {{ candidate.candidate_contact_form_url|default_if_none:"" }} | ||||
| Public Positions: | {{ candidate.public_positions_count }} | ||||
| Friends Only Positions: | {{ candidate.friends_positions_count }} | ||||
| Bookmarks: | {{ candidate.bookmarks_count }} |
| ID | We Vote ID | Candidate Name | Year | State | Ballotpedia Race ID | Ballotpedia Candidate ID | |
|---|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {{ found_candidate.id }} | {{ found_candidate.we_vote_id }} |
{% if found_candidate.candidates_match_root_candidate %}
{{ found_candidate.candidate_name }}
{% else %}
{{ found_candidate.candidate_name }}
{% endif %}
(view summary, compare for merge) |
{{ found_candidate.candidate_year }} | {{ found_candidate.state_code }} | {{ found_candidate.ballotpedia_race_id|default_if_none:"" }} | {{ found_candidate.ballotpedia_candidate_id|default_if_none:"" }} |
| Endorser Position | Stance | Election | Election Date | Rating Time Span | |
|---|---|---|---|---|---|
| (missing candidate_position.id) | |||||
| {{ forloop.counter }} | {% if candidate_position.organization_id %} {{ candidate_position.organization.organization_name }} (edit position) {% else %} (not an org) {% endif %} | {{ candidate_position.get_stance_display }} {% if candidate_position.statement_text %} {{ candidate_position.statement_text }} {% endif %} {# {% if candidate_position.vote_smart_rating %} {{ candidate_position.vote_smart_rating }}%{% endif %} | #}{{ candidate_position.election.google_civic_election_id }} | {{ candidate_position.election.election_day_text }} | {{ candidate_position.vote_smart_time_span|default_if_none:"" }} |
(no positions found)
{% endif %}
{% else %}