{% extends 'main/layout.html' %}
{% block title %}Subscribers — {{ request.user.username }}{% endblock %}
{% block content %}
<main>
<h1>Subscribers</h1>
<p>
These emails will receive an email notification on new post publications at
10:00 UTC on the day after the post’s publication date.
</p>
<ul>
{% for n in notification_list %}
<li>
{{ n.email }}
</li>
{% empty %}
<li><i>No subscribers</i></li>
{% endfor %}
</ul>
{% if notification_list %}
<p>
To delete a subscriber, one can use the
<a href="{% url 'notification_unsubscribe' %}">unsubscribe form</a>.
</p>
{% endif %}
</main>
{% endblock content %}