{% extends "billy/web/public/base.html" %} {% load url from future %} {% load humanize %} {% load i18n %} {% load customtags %} {% block title %} {{bill.bill_id }} - {{metadata.display_name}} {{bill.session_details.display_name}} {% endblock %} {% block description %} {{metadata.display_name}} {{bill.chamber_name}} {{bill.type_string|title}} {{bill.bill_id}}: {{bill.title}}. {% endblock %} {% block headblock %} {% endblock %} {% block content %}

{{ bill.bill_id }}

{{ metadata.name }} {{ bill.chamber_name }} {{bill.type_string|title}}

    {% for stage, text, date in bill.progress_data %}
  1. {{text}} {% if date %}{{date|date:"M j, Y"}}{% endif %}
  2. {% endfor %}

{{ bill.title|capfirst }}

{% if bill.subjects %}
{% trans "Bill Subjects:" %}
{% for subject in bill.subjects %} {{subject}} {% endfor %} {% endif %} {% for type in bill.type|slice:"1:" %} {{type|title}}
{% endfor %}
{% trans "Session:" %}
{{ bill.session_details.display_name }}
{% trans "Sponsors" %} ({{ bill.sponsors|length }}):
    {% for sponsor in bill.sponsors_manager.first_fifteen %} {% if sponsor.leg_id %}
  • {{ sponsor.display_name }} {% else %} {% if sponsor.committee_id %}
  • {{ sponsor.name }} {% else %} {# Sponsor had no leg_id or was inactive. #}
  • {{ sponsor.name }} {% endif %} {% endif %}
  • {% endfor %} {% if show_all_sponsors %} {% with remainder=bill.sponsors_manager.first_fifteen_remainder %} {% for sponsor in remainder %} {% if sponsor.leg_id %}
  • {{ sponsor.display_name }} {% else %} {% if sponsor.committee_id %}
  • {{ sponsor.name }} {% else %} {# Sponsor had no leg_id or was inactive. #}
  • {{ sponsor.name }} {% endif %} {% endif %}
  • {% endfor %} {% endwith %} {% else %} {% with remainder=bill.sponsors_manager.first_fifteen_remainder %} {% if remainder|length %}
  • {% blocktrans with count=remainder|length|apnumber %} View {{ count}} other{% endblocktrans %}{{ remainder|length|pluralize}}
  • {% endif %} {% endwith %} {% endif %}
{% if bill.quality_exceptions %}
? {% trans "Notes:" %}
    {% for qe in bill.quality_exceptions %} {% if qe.type == "bills:no_sponsors" %}
  • {% trans "The official source for this bill does not list any sponsors." %}
  • {% elif qe.type == "bills:no_actions" %}
  • {% trans "The official source for this bill does not list any actions." %}
  • {% elif qe.type == "bills:no_versions" %}
  • {% trans "The official source for this bill does not include any bill text." %}
  • {% endif %} {% endfor %}
{% endif %}
{% if bill.versions or bill.documents %}
{% if bill.versions %}

{% trans "Bill Text" %}

{% with remainder=bill.versions_remainder %} {% if remainder %} {% blocktrans with count=remainder|length|apnumber %} View {{ count }} other{% endblocktrans %}{{remainder|length|pluralize}} {% endif %} {% endwith %}
{% endif %}
{% if bill.documents %}

{% trans "Documents" %}

{% for document in bill.documents_preview %} {% endfor %} {% with remainder=bill.documents_remainder %} {% if remainder %} {% blocktrans with count=remainder|length|apnumber %}View {{ count }} other{% endblocktrans %}{{ remainder|length|pluralize}} {% endif %} {% endwith %}
{% endif %}
{% endif %}

{% trans "Actions" %}

{% for action in bill.actions_manager %} {% if action.related_votes %} {% else %} {% endif %} {% endfor %}
{% trans "Date" %}
{{ action.date|date:"M j, Y"}}{{ action.action_display|safe }} {% for vote in action.related_votes %} - Related Vote {% endfor %} {{ action.action_display|safe }}

{% trans "Votes" %}

{% if bill.votes_manager.count %}
    {% for vote in bill.votes_manager %}
  • ({{vote.chamber_name}}) {{vote.motion|truncatewords:30}} {% if vote.has_votes %}
    • {{vote.yes_count}} {% trans "Yes" %}
    • {{vote.no_count}} {% trans "No" %}
    {% else %} {% trans "No vote counts available." %} {% endif %} {% if not vote.has_voters %} {{vote_value|title}} {% trans "No vote roll call available." %} {% endif %}
  • {% endfor %}
{% else %} {% trans "No vote data is available yet." %} {% endif %}
{% if events|length > 0 %}

{% trans "Events" %}

{##} {% for event in events %} {% comment %}{%endcomment %} {% endfor %}
{% trans "Description" %} {% trans "Date" %} {% trans "Attendees" %} {% trans "Location" %}{% trans "Bills" %}
{{event.description}} {{event.when|naturaltime}} {% for participant in event.participants %} {% if participant.participant_type == 'legislator' %} {% if participant.id %} {{participant.participant}} {% else %} {{participant.participant}} {% endif %} {% elif participant.participant_type == 'committee' %} {% if participant.id %} {{participant.participant}} {% else %} {{participant.participant}} {% endif %} {% endif %} {% endfor %} {{event.location}}{% for bill in event.related_bills %} {% if bill.bill_id %} {{bill|underscore_field:"scraped_bill_id"}} {% else %} {{bill|underscore_field:"scraped_bill_id"}} {% endif %} {% endfor %}
{% endif %} {% sources bill %}
{% endblock %}