diff --git a/forms.py b/forms.py index 04aa37c..c940632 100644 --- a/forms.py +++ b/forms.py @@ -174,8 +174,8 @@ class ListSubscribe(FieldsetForm): """Form fields to join an existing list. """ - listname = forms.EmailField( - label = _('List Name'), + fqdn_listname = forms.EmailField( + label = '',#_('List Name'), widget = forms.HiddenInput(), error_messages = { 'required': _('Please enter the mailing list address.'), @@ -204,13 +204,13 @@ the list should be the wished name of the fieldset, the following the fields that should be included in the fieldset. """ - layout = [["Subscribe", "email","real_name","name"]] + layout = [["Subscribe", "email","real_name","name","fqdn_listname"]] class ListUnsubscribe(FieldsetForm): """Form fields to leave an existing list. """ - listname = forms.EmailField( - label = _('List Name'), + fqdn_listname = forms.EmailField( + label = '',#_('List Name'), widget = forms.HiddenInput(), error_messages = { 'required': _('Please enter the mailing list address.'), @@ -237,7 +237,7 @@ the list should be the wished name of the fieldset, the following the fields that should be included in the fieldset. """ - layout = [["Unsubscribe", "email","name"]] + layout = [["Unsubscribe", "email","name","fqdn_listname"]] # should at one point add the password to be required as well! #TODO class ListSettings(FieldsetForm): diff --git a/templates/mailman-django/base.html b/templates/mailman-django/base.html index 3049df8..199dea2 100644 --- a/templates/mailman-django/base.html +++ b/templates/mailman-django/base.html @@ -46,9 +46,9 @@ {% block footer %} {% include "mailman-django/list_selector.html" %} {% if request.user.is_authenticated %} -
+{% trans "Login" %} {{request.user.username}}
{% else %} - +{% trans "Logout" %} {{request.user.username}}
{% endif %} {% endblock %} diff --git a/templates/mailman-django/lists/subscriptions.html b/templates/mailman-django/lists/subscriptions.html index 47afbc8..d097556 100644 --- a/templates/mailman-django/lists/subscriptions.html +++ b/templates/mailman-django/lists/subscriptions.html @@ -9,7 +9,7 @@