diff --git a/src/postorius/templates/postorius/user_mailmansettings.html b/src/postorius/templates/postorius/user_mailmansettings.html index 89f4ea4..0a1508a 100644 --- a/src/postorius/templates/postorius/user_mailmansettings.html +++ b/src/postorius/templates/postorius/user_mailmansettings.html @@ -4,26 +4,38 @@ {% block main %} {% include 'postorius/menu/user_nav.html' %} -

{% trans 'Mailman Settings' %} - {{ user }}

+ {% if nolists %} +

No Preferences Available

+

{% trans 'You are not yet subscribed to any lists, so have no Mailman preferences.' %}

+ {% else %} + +

{% trans 'Mailman Settings' %} - {{ user }}

Mailman display name: {{ mm_user.display_name}}

Django email: {{ user.email }}

Mailman primary email: {{ mm_user.email }}

Valid email addresses for this account:

+

Preferences:

- {{ mm_user.preferences }} - {{ mm_user }} +

preferences: {{ mm_user.preferences }} +

user: {{ mm_user }} +

tko +

memberships: {{ membership_lists }} {% for pref in mm_user.preferences %}

  • {{ pref }}
  • {% endfor %}

    List memberships:

    + {% for list in mm_user.lists %} +
  • {{ list.name }}
  • + {% endfor %}

    Sample output: not real