diff --git a/mockdata.py b/mockdata.py index b046dcc..fc77faf 100644 --- a/mockdata.py +++ b/mockdata.py @@ -110,6 +110,9 @@ self.info['topics_enabled'] = True self.info['unsubscribe_policy'] = 9 self.info['welcome_msg'] = 'Welcome message lorem ipsum dolor sit' + self.info['advertised'] = True + self.info['archive'] = True + self.info['archive_private'] = True cls.__init__ = __init__ return cls diff --git a/templates/mailman-django/base.html b/templates/mailman-django/base.html index 80abae6..7272249 100644 --- a/templates/mailman-django/base.html +++ b/templates/mailman-django/base.html @@ -20,8 +20,11 @@
-

This is a draft of a Mailman3 django client. It's not a finished design. For now you can view a list of existing mailing lists, you can create new lists and you can subscribe to lists.

+

This is a draft of a Mailman3 django client. It's not a finished design. For now you can view a list of existing mailing lists and you can create new lists. + {% block links %}{% endblock %} +

+ {% block content %}{% endblock %}
diff --git a/templates/mailman-django/lists/created.html b/templates/mailman-django/lists/created.html index 049e99b..d48d171 100644 --- a/templates/mailman-django/lists/created.html +++ b/templates/mailman-django/lists/created.html @@ -1,6 +1,10 @@ {% extends "mailman-django/base.html" %} {% load i18n %} +{% block links%} +You can also subscribe or unsubscribe a user to the list "the normal way" or delete the list. +{% endblock %} + {% block content %}

{% trans "List Created" %}

diff --git a/templates/mailman-django/lists/mass_subscribe.html b/templates/mailman-django/lists/mass_subscribe.html index a1bd8df..825bae4 100644 --- a/templates/mailman-django/lists/mass_subscribe.html +++ b/templates/mailman-django/lists/mass_subscribe.html @@ -1,14 +1,18 @@ {% extends "mailman-django/base.html" %} {% load i18n %} +{% block links%} +You can also subscribe or unsubscribe a user to the list "the normal way" or delete the list. To go back to the general settings page, please click here. +{% endblock %} + {% block content %}

{% trans "Mass Subscribe Users" %}

-

Here you can mass subscribe users to the list {{ fqdn_listname }}. To do so, please enter one name on each row. To go back to the general settings page, please click here.

+

Here you can mass subscribe users to the list {{ fqdn_listname }}. To do so, please enter one name on each row.

{% if message %} -

{{ message }}

+

{{ message }}

{% endif %}
diff --git a/templates/mailman-django/lists/settings.html b/templates/mailman-django/lists/settings.html index 8fa7d67..a396362 100644 --- a/templates/mailman-django/lists/settings.html +++ b/templates/mailman-django/lists/settings.html @@ -1,16 +1,19 @@ {% extends "mailman-django/base.html" %} {% load i18n %} +{% block links%} +You can also subscribe or unsubscribe a user to the list "the normal way" or delete the list. If you wish to mass subscribe users to this list, please click here. +{% endblock %} + {% block content %}

{% trans "List Settings for " %}{{ fqdn_listname }}

This page visualizes all list settings. Currently the page is not connected to the rest server so the settings will not be saved when changing them. However, this gives an idea of what the settings page could look like.

-

If you wish to mass subscribe users to this list, please click here.

{% if message %} -

{{ message }}

+

{{ message }}

{% endif %}