{% extends "postorius/base.html" %} {% load i18n %} {% load pagination %} {% block head_title %} {% trans 'List Index' %} - {{ block.super }} {% endblock %} {% block content %}
{% if user.is_authenticated %}
{% trans 'Role: ' %}
{% endif %} {% if user.is_superuser %}
{% comment %} The span below exists only because d-flex will strech the child elements completely. So, we wrap them in span so that the width the span increases but the button remains original height. {% endcomment %} {% if domain_count < 1 %} {% trans 'Create New Domain' %} {% else %} {% trans 'Create New List' %} {% endif %}
{% endif %}
{% if lists|length > 0 %}
{% for list in lists %} {% endfor %}
{% trans 'List name' %} {% trans 'Post address' %} {% trans 'Description' %}
{{ list.display_name }} {% if check_advertised %} {% if user.is_superuser and not list.advertised %} ({% trans 'unadvertised' %}*) {% endif %} {% endif %} {{ list.fqdn_listname }} {{ list.description }}
{% if not all_lists and not role %} * {% trans 'Only lists that you are owner, moderator or subscriber for are shown here. Click to see all lists.' %}
{% endif %} {% if user.is_superuser %} * {% trans 'Only admins see unadvertised lists in the list index.' %} {% endif %} {% if not user.is_authenticated or "all-lists" in request.GET %} {% paginator lists %} {% endif %} {% else %}

{% trans 'There are currently no mailing lists.' %}

{% endif %} {% endblock content %}