{# Shared one-line summary of a Vote. Caller provides ``v`` (a VoteHit-like or row dict). Optional ``member_position`` / ``member_party`` keys are used on the Member-page Recent-votes section. #}
  • {% if v.chamber == "house" %}H{% else %}S{% endif %} {{ v.roll_number }} · {{ v.congress }}th · {{ v.start_date[:10] }} {% if v.is_party_unity %} party-unity {% endif %} {% if v.bill_id %} · {{ v.bill_id.split('-')[1]|upper }} {{ v.bill_id.split('-')[2] }} {% endif %} {% if v.amendment_id %} · amdt {{ v.amendment_id.split('-')[1]|upper }} {{ v.amendment_id.split('-')[2] }} {% endif %} {{ v.result }}
    {{ v.vote_question|truncate(120) }}
    {% if v.yea_count is not none or v.nay_count is not none %}
    Y {{ v.yea_count or 0 }} · N {{ v.nay_count or 0 }} {% if v.present_count %}· P {{ v.present_count }}{% endif %} {% if v.not_voting_count %}· NV {{ v.not_voting_count }}{% endif %}
    {% endif %} {% if member_position is defined %}
    Member voted: {{ member_position }} {% if member_party %}({{ member_party }}){% endif %}
    {% endif %}