~linuxgoose/bocpress

ref: a72c4771fa8b0612594b4b98382b3e2605399074 bocpress/main/templates/main/notification_list.html -rw-r--r-- 742 bytes
a72c4771Jordan Robinson add tags to draft posts list 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% 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 %}