diff --git a/src/postorius/templates/postorius/base.html b/src/postorius/templates/postorius/base.html index 1d4abe5..4c0c435 100644 --- a/src/postorius/templates/postorius/base.html +++ b/src/postorius/templates/postorius/base.html @@ -26,13 +26,12 @@
{% if user.is_authenticated %} diff --git a/src/postorius/templates/postorius/lists/index.html b/src/postorius/templates/postorius/lists/index.html index 0232917..63a692a 100644 --- a/src/postorius/templates/postorius/lists/index.html +++ b/src/postorius/templates/postorius/lists/index.html @@ -22,24 +22,37 @@

{% endif %} - - - - - - - - - - {% for list in lists %} - - - - - - {% endfor %} - -
{% trans 'List name' %}{% trans 'List address' %}{% trans 'Description' %}
- {{ list.display_name }} - {{ list.fqdn_listname }}{{ list.settings.description }}
+ {% if lists|length > 0 %} + + + + + + + + + + + {% for list in lists %} + + + + + + {% endfor %} + +
{% trans 'List name' %}{% trans 'Post address' %}{% trans 'Description' %}
+ {{ list.display_name }}{% if not list.settings.advertised %} (private*){% endif %} + {{ list.fqdn_listname }}{{ list.settings.description }}
+ + {% if user.is_superuser %} + * Private lists can only be seen by admins. + {% endif %} + + {% else %} + +

There are currently no mailing lists.

+ + {% endif %} + {% endblock main %}