{% extends "billy/web/public/base.html" %} {% load url from future %} {% load staticfiles %} {% load i18n %} {% load humanize %} {% load customtags %} {% block title %} {{legislator.full_name }} - {{metadata.legislature_name}} - {% endblock %} {% block description %} {% blocktrans with title=legislator.title name=legislator.full_name state=metadata.name %} {{title}} {{name}} represents {{state}} {% endblocktrans %} {% if legislator.active and legislator.district %} {{legislator.chamber_name}} {% if legislator.district.0.isdigit %}{% trans "District" %} {% endif %}{{legislator.district}}. {% endif %} {% endblock %} {% block headblock %} {% endblock %} {% block content %}

{{legislator.full_name}}{% if not legislator.active %} ({% trans "Inactive" %}){% endif %}

{% if legislator.active %} {{legislator.party}} — {{legislator.title}} — {# if first character of district is numeric, add 'District' #} {% if legislator.district.0.isdigit %} {% trans "District" %} {% endif %}{{legislator.district}} {% else %} {{legislator.full_name}} {% trans "no longer serves in the" %} {{metadata.legislature_name}}. {% endif %}
{% trans "Available Terms:" %}
    {% for term in legislator.all_terms %}
  • {{term}}
  • {% endfor %}
{% if legislator.active %}
{% endif %}
{% comment %} We also need to test whether 'chamber' is in legislator to cover the David Dewhurst situation--a Lt. Governor who's listed as a voter on bills and is 'active' but not associated with a chamber. {% endcomment %} {% if legislator.active and 'chamber' in legislator %}

{% include "billy/web/public/bio_blurb.html" %}

{% for office in legislator.offices|slice:":2" %}

{{office.name}}:

{{office.address|linebreaks}} {% if office.phone %}
{% trans "Phone" %}: {{office.phone}}
{% endif %} {% if office.fax %}
{% trans "Fax" %}: {{office.fax}}
{% endif %} {% if office.email %} {% endif %}
{% endfor %} {% if not legislator.email %}
{% trans "Contact Information Not Available" %} ?
{% endif %} {% if legislator.email %}
{{legislator.email}}
{% endif %}

{% trans "Committees" %}

{% endif %}

{% trans "Bills" %}

rss

{% trans "Sponsored Bills" %}

{% trans "View More Bills" %} {% else %}
  • {% trans "No sponsored bills to display." %}
  • {% endif %}
    rss

    {% trans "Votes" %}

    {% if not legislator_votes %}{% trans "No votes to display." %} {% else %} {% for vote_value, vote in legislator_votes %} {% endfor %}
    {% trans "Legislator Vote" %}
    {{vote.bill.bill_id|upper}}

    {{vote.motion|truncatewords:30}}

    • {{vote.yes_count}} {% trans "Yes" %}
    • {{vote.no_count}} {% trans "No" %}
    {{vote_value|title}}
    {% trans "View More Votes" %} {% endif %}
    {% sources legislator %} {% endblock %}