diff --git a/src/postorius/templates/postorius/lists/summary.html b/src/postorius/templates/postorius/lists/summary.html index f6b0fec..99fc33a 100644 --- a/src/postorius/templates/postorius/lists/summary.html +++ b/src/postorius/templates/postorius/lists/summary.html @@ -6,7 +6,7 @@ {% block body_class %}list_summary{% endblock %} {% block main %} - {% if user.is_superuser %} + {% if user.is_superuser or user.is_list_owner or user.is_list_moderator %} {% include 'postorius/menu/list_nav.html' %} {% endif %}

{{list.display_name}}

diff --git a/src/postorius/views/list.py b/src/postorius/views/list.py index a60d634..f78de08 100644 --- a/src/postorius/views/list.py +++ b/src/postorius/views/list.py @@ -474,7 +474,8 @@ context_instance=RequestContext(request)) -@list_owner_required + +@list_moderator_required def list_held_messages(request, list_id): """Shows a list of held messages. """ @@ -487,7 +488,7 @@ context_instance=RequestContext(request)) -@list_owner_required +@list_moderator_required def accept_held_message(request, list_id, msg_id): """Accepts a held message. """ @@ -503,7 +504,7 @@ return redirect('list_held_messages', the_list.list_id) -@list_owner_required +@list_moderator_required def discard_held_message(request, list_id, msg_id): """Accepts a held message. """ @@ -519,7 +520,7 @@ return redirect('list_held_messages', the_list.list_id) -@list_owner_required +@list_moderator_required def defer_held_message(request, list_id, msg_id): """Accepts a held message. """ @@ -535,7 +536,7 @@ return redirect('list_held_messages', the_list.list_id) -@list_owner_required +@list_moderator_required def reject_held_message(request, list_id, msg_id): """Accepts a held message. """