{% extends 'base.html' %} {% load static %} {% block title %}{{ subscription.list_name }}{% endblock %} {% block emailer_head %} {% endblock %} {% block content %}

{{ subscription.list_name }}

To subscribe to {{ subscription.list_name|lower }}, visit the subscriptions page.

{{ subscription.descriptive_text|safe }} {% if email_set %}

Recent {{ subscription.list_name|lower }}

{% for email in email_set %}

{{ email.headline }}

{{ email.publication_date|date:'l, N j, Y' }}
{% endfor %} {% if email_set.has_previous or email_set.has_next %} {% with this_page=email_set.number %}

Pages: {% for page_number in email_set.paginator.page_range %} {% if forloop.counter != 1 %} | {% endif %} {% if page_number == this_page %}  {{ page_number }}  {% else %}  {{ page_number }}  {% endif %} {% endfor %}

{% endwith %}

{% if email_set.has_previous %} {% endif %} {% if email_set.has_previous and email_set.has_next %}   {% endif %} {% if email_set.has_next %} {% endif %}

{% endif %} {% else %}

There are no {{ subscription.list_name|lower }} at this time.

{% endif %}
{% endblock %}