diff --git a/musician/models.py b/musician/models.py index 7544360..5b61e16 100644 --- a/musician/models.py +++ b/musician/models.py @@ -146,7 +146,8 @@ class MailService(OrchestraModel): class MailinglistService(OrchestraModel): api_name = 'mailinglist' - verbose_name = 'Mailing list' + verbose_name = _('Mailing list') + description = _('Litle description of what to be expected in this section to aid the user. Even a link to more help if there is one available.') fields = ('name', 'status', 'address_name', 'admin_email', 'configure') param_defaults = { 'name': None, diff --git a/musician/templates/musician/mailinglists.html b/musician/templates/musician/mailinglists.html index 031c33e..e24ea7a 100644 --- a/musician/templates/musician/mailinglists.html +++ b/musician/templates/musician/mailinglists.html @@ -3,10 +3,17 @@ {% block content %} -

Mailing lists

-

Little description of what to be expected...

+

{{ service.verbose_name }}

+

{{ service.description }}

- +
+ + + + + + + @@ -20,8 +27,8 @@ {% for resource in object_list %} - - + + diff --git a/musician/views.py b/musician/views.py index 632f8ea..4f981e2 100644 --- a/musician/views.py +++ b/musician/views.py @@ -109,6 +109,7 @@ class MailView(ServiceListView): class MailingListsView(ServiceListView): service_class = MailinglistService + template_name = "musician/mailinglists.html" class DatabasesView(ServiceListView):
Name
{{ resource.name }}{{ resource.status }}{{ resource.address_name}}@{{ resource.address_domain.name }}{{ resource.status|capfirst }}{{ resource.address_name}} {{ resource.admin_email }} Mailtrain