{# templates/share/shared_item_list.html #} {% extends "template_base.html" %} {% block title %}Shared Items{% endblock %} {% block content %} {% load template_filters %} {% load humanize %}
| Shared By | Shared Item | Unique Viewers |
Clicks | Message | ||
|---|---|---|---|---|---|---|
| {{ forloop.counter }} |
{% if shared_item.shared_by_we_vote_hosted_profile_image_url_medium %}
|
{% if shared_item.shared_by_display_name %}
{{ shared_item.shared_by_display_name|default_if_none:"" }}
{% elif shared_item.shared_by_voter_we_vote_id %}
{{ shared_item.shared_by_voter_we_vote_id }}
{% endif %}
{% if shared_item.shared_by_state_code %}
- {{ shared_item.shared_by_state_code|default_if_none:"" }}
{% endif %}
First shared: {{ shared_item.date_first_shared|default_if_none:"" }} |
{% if shared_item.is_ballot_share %}
Ballot
{% elif shared_item.is_campaignx_share %}
CampaignX
{% elif shared_item.is_candidate_share %}
Candidate
{% elif shared_item.is_measure_share %}
Measure
{% elif shared_item.is_office_share %}
Office
{% elif shared_item.is_organization_share %}
Organization
{% elif shared_item.is_ready_share %}
Ready
{% elif shared_item.is_remind_contact_share %}
Remind
{% endif %}
{% if shared_item.destination_full_url %}
{{ shared_item.destination_full_url|truncatechars:34 }} {% endif %} |
{{ shared_item.shared_link_clicked_unique_viewer_count|default_if_none:"" }} | {{ shared_item.shared_link_clicked_count|default_if_none:"" }} |
{% if shared_item.shared_message %}
{{ shared_item.shared_message|default_if_none:"" }}
{% endif %} {% if shared_item.other_voter_email_address_text or shared_item.other_voter_display_name %} Sent to: {% endif %} {% if shared_item.other_voter_display_name %} {{ shared_item.other_voter_display_name }} {% endif %} {% if shared_item.other_voter_email_address_text and shared_item.other_voter_display_name %} - {% endif %} {% if shared_item.other_voter_email_address_text %} {{ shared_item.other_voter_email_address_text }} {% endif %} |
(no shared items found)
{% endif %} {% endblock %}