diff --git a/src/mailmanweb/static/mailmanweb/default/css/style.css b/src/mailmanweb/static/mailmanweb/default/css/style.css index 6c6e0e3..dd5032d 100755 --- a/src/mailmanweb/static/mailmanweb/default/css/style.css +++ b/src/mailmanweb/static/mailmanweb/default/css/style.css @@ -115,6 +115,11 @@ border: none; } +/* tables */ +.table .mm_action { + text-align: right; +} + /* auto-generated forms made a bit cleaner */ .well label { display: inline; @@ -131,20 +136,3 @@ color: #A22630; } -/* settings table */ -.mm_settings table, .mm_settings td { - border: solid 1px gray; - padding: 0.7em -} -.mm_settings th { - border: solid 1px gray; - margin: 2em; - padding: 2em - font-weight: bold; - background-image: -webkit-linear-gradient(#FAFAFA, #EFEFEF); - background-image: -moz-linear-gradient(#FAFAFA, #EFEFEF); -} -.mm_noHeight { - height: 0; - overflow: hidden; -} diff --git a/src/mailmanweb/templates/mailmanweb/base.html b/src/mailmanweb/templates/mailmanweb/base.html index b389fdd..956eb2d 100644 --- a/src/mailmanweb/templates/mailmanweb/base.html +++ b/src/mailmanweb/templates/mailmanweb/base.html @@ -27,7 +27,7 @@
  • Lists
  • - {% if user.is_authenticated %} + {% if user.is_superuser %}
  • Todos
  • diff --git a/src/mailmanweb/templates/mailmanweb/lists/held_messages.html b/src/mailmanweb/templates/mailmanweb/lists/held_messages.html index e69de29..69b8a1c 100644 --- a/src/mailmanweb/templates/mailmanweb/lists/held_messages.html +++ b/src/mailmanweb/templates/mailmanweb/lists/held_messages.html @@ -0,0 +1,40 @@ +{% extends "mailmanweb/base.html" %} +{% load i18n %} + +{% block body_class %}list_summary{% endblock %} + +{% block main %} + {% include 'mailmanweb/menu/list_nav.html' %} +

    {{list.display_name}}

    + + + + + + + + + + + + + {% for msg in list.held %} + + + + + + + + + {% endfor %} + +
    {% trans 'Subject' %}{% trans 'Sender' %}{% trans 'Reason' %}{% trans 'Hold Date' %} 
    {{ msg.subject }}{{ msg.sender }}{{ msg.reason }}{{ msg.hold_date }} + {% trans 'Accept' %} + {% trans 'Defer' %} + {% trans 'Reject' %} + {% trans 'Discard' %} +
    + + +{% endblock %} diff --git a/src/mailmanweb/templates/mailmanweb/user_mailmansettings.html b/src/mailmanweb/templates/mailmanweb/user_mailmansettings.html index 29a80b1..59ebc19 100644 --- a/src/mailmanweb/templates/mailmanweb/user_mailmansettings.html +++ b/src/mailmanweb/templates/mailmanweb/user_mailmansettings.html @@ -14,7 +14,17 @@
  • {{ address }}
  • {% endfor %} + +

    Preferences:

    + {{ mm_user.preferences }} + {{ mm_user }} + {% for pref in mm_user.preferences %} +
  • {{ pref }}
  • + {% endfor %} + +

    List memberships:

    +

    Sample output: not real