{% extends "base.html" %} {% block title %}{{ _('Subscribers') }} - {{ mailing_list.name }}{% endblock %} {% block content %}

{{ _('Subscribers for "%(name)s"', name=mailing_list.name) }}

{%- include "flash.html" %} {# Show flash messages #}

{{ _('Edit List Settings') }}

{{ _('Add Subscriber') }}

{{ form.csrf_token }} {{ form.name(placeholder=form.name.label.text) }} {{ form.email(placeholder=form.email.label.text) }} {{ form.comment(placeholder=form.comment.label.text) }} {{ form.submit }}

{{ _('Current Subscribers') }}

{{ _('All direct subscribers of this list. May include other mailing lists whose subscribers you will find in a second table below.') }}

{% if mailing_list.subscribers %} {% for subscriber in mailing_list.subscribers %} {%- if subscriber.subscriber_type == "list" %}{% set list = is_email_a_list(subscriber.email) %}{% endif %} {% endfor %}
{{ _('Name') }} {{ _('Email') }} {{ _('Comment') }} {{ _('Actions') }}
{{ subscriber.name if subscriber.name }} {{ subscriber.email }} {% if list %} ({{ _('List') }}{%- if list.deleted %} - {{ _('Deactivated') }}{% endif %}) {% endif %} {{ subscriber.comment if subscriber.comment }} {{ _('Edit') }} {{ _('Delete') }}
{% else %}

{{ _('No subscribers yet.') }}

{% endif %}

{{ _('Indirect Subscribers') }}

{{ _('All indirect subscribers of this list via other mailing lists subscribed to this list. May contain duplicates if the same people are on multiple lists that are subscribed here.') }}

{% if subscribers_indirect %} {% for list, subs in subscribers_indirect.items() %} {% for subscriber in subs %} {% endfor %} {% endfor %}
{{ _('Name') }} {{ _('Email') }} {{ _('Via List') }}
{{ subscriber.name if subscriber.name }} {{ subscriber.email }} {{ list.name }}
{% else %}

{{ _('No indirect subscribers.') }}

{% endif %} {% endblock %}