{% load humanize %} {% load i18n %} {% load customtags %} {% blocktrans with name=legislator.display_name chamber=legislator.chamber_name|title district=legislator.district state=legislator.metadata.name chamber_name=legislator.chamber_name|title com_count=legislator.committees.count|apnumber count counter=legislator.committees.count %} {{name}} represents {{chamber}} District {{district}} in the {{state}} {{chamber_name}}, is a member of {{com_count}} committee, {% plural %} {{name}} represents {{chamber}} District {{district}} in the {{state}} {{chamber_name}}, is a member of {{com_count}} committees, {% endblocktrans %} {% with count=legislator.primary_sponsored_bills.count %} {% trans "and" %} {% if count %} {% trans "is the primary sponsor of" %} {{count|apnumber}} {% with count=legislator.secondary_sponsored_bills.count %} {% if count %} {% trans "bills, and is the secondary sponsor of" %} {{count|apnumber}} {% trans "bills" %} {% else %} {% trans "bills" %}. {% endif %} {% endwith %} {% else %} {% with count=legislator.secondary_sponsored_bills.count %} {% if count %} {% trans "is a secondary sponsor of" %} {{count|apnumber}} {% trans "bills" %}. {% else %} {% trans "has not sponsored any bills in the current session." %} {% endif %} {% endwith %} {% endif %} {% endwith %}

{% if "_total_contributions" in legislator %} {{legislator.title}} {{legislator.last_name}} {% blocktrans with total=legislator|underscore_field:"total_contributions"|intcomma since=legislator|underscore_field:"contributions_start_year" %} has raised ${{total}} since {{since}}. {% endblocktrans %} {% endif %} {% if legislator.transparencydata_id %} {% trans "For detailed campaign finance information visit " %} Influence Explorer. Figures via the National Institute on Money in State Politics. {% endif %}