{% load staticfiles %}

Notifications about your {{ CITY_NAME_SHORT }} Councilmatic Subscriptions

{{ CITY_NAME_SHORT }} has updates! This email provides information about your subscriptions to council members, committee actions, committee events, bill searches, bill actions, and meetings.


{% if person_updates %}

{{ CITY_VOCAB.COUNCIL_MEMBER }} Notifications

{% for update in person_updates %} {% for update_type, person in update.items %}

{{person.name}} - {{ update_type }}

{% if 'Sponsorship' in update_type %} {% else %} {% endif %} {% for bill in person.bills %} {% endfor %}
BillDescriptionAction
{{bill.identifier}} {% if bill.action_description %} {{ bill.action_date|date:"M j, Y"}}: {{ bill.action_description }} {% else %} {{ bill.description }} {% endif %} Go to RSS
{% endfor %} {% endfor %} {% endif %} {% if committee_action_updates %} {% for committee in committee_action_updates %}

{{ committee.name }} Notifications

{% for bill in committee.bills %}

Bill actions - {{ bill.identifier }}

{% for action in bill.actions %} {% endfor %}
Date Action
{{ action.date|date:"M j, Y" }} {{ action.description }} Go to RSS
{% endfor %} {% endfor %} {% endif %} {% if committee_event_updates %}

Committee Event Notifications

{% for committee in committee_event_updates %}

{{ committee.name }}

{% for event in committee.events %} {% endfor %}
Event Date Description
{{ event.name }} {{event.start_time|date:"M j, Y fa"}} {{ event.description }}
{% endfor %} {% endif %} {% if bill_search_updates %}

Bill Search Notifications

{% for search in bill_search_updates %}

Term: {{ search.params.term }} {% if search.params.facets %}
Selected facets:  {% for facet, values in search.params.facets.items %} {{ facet }}: {% for value in values %}{{ value }}{% if not forloop.last %}, {% endif %}{% endfor %} {% endfor%} {% endif %}

{% for bill in search.bills %} {% endfor %}
Bill Description
{{bill.identifier}} {{ bill.description }} Go to RSS
{% endfor %} {% endif %} {% if bill_action_updates %}

Bill Action Notifications

{% for bill, action in bill_action_updates %} {% endfor %}
Bill Action
{{bill.identifier}} {{action.date|date:"M j, Y"}}: {{action.description}} Go to RSS
{% endif %}