diff --git a/src/postorius/templates/postorius/lists/members.html b/src/postorius/templates/postorius/lists/members.html index 5a5386d..f4bf5b0 100644 --- a/src/postorius/templates/postorius/lists/members.html +++ b/src/postorius/templates/postorius/lists/members.html @@ -4,12 +4,18 @@ {% load nav_helpers %} {% block subtitle %} -{{ page_title }} | {{ list.fqdn_listname}} +{% trans 'List members' %} | {{ list.fqdn_listname}} {% endblock %} {% block main %} - {% list_nav 'list_members' page_title %} + {% list_nav 'list_members' 'List members' role|capfirst|add:'s' %} + + {% if role != 'subscriber' %}
diff --git a/src/postorius/views/list.py b/src/postorius/views/list.py index 9d24fbb..e056fa5 100644 --- a/src/postorius/views/list.py +++ b/src/postorius/views/list.py @@ -81,18 +81,15 @@ request, mailing_list.get_member_page, count=request.GET.get('count', 25), paginator_class=utils.MailmanPaginator) - context['page_title'] = _('List Subscribers') context['empty_error'] = _('List has no Subscribers') context['count_options'] = [25, 50, 100, 200] else: - context['member_form'] = member_form + context['member_form'] = member_form if role == 'owner': context['members'] = mailing_list.owners - context['page_title'] = _('List Owners') context['form_action'] = _('Add Owner') elif role == 'moderator': context['members'] = mailing_list.moderators - context['page_title'] = _('List Moderators') context['empty_error'] = _('List has no Moderators') context['form_action'] = _('Add Moderator') return render(request, 'postorius/lists/members.html', context)