diff --git a/musician/templates/musician/mail.html b/musician/templates/musician/mail.html
index 927ff1c..116fae4 100644
--- a/musician/templates/musician/mail.html
+++ b/musician/templates/musician/mail.html
@@ -3,7 +3,27 @@
{% block content %}
-
Section title
-Little description of what to be expected...
-
+{{ service.verbose_name }}
+{{ service.description }}
+
+
+
+ Mail address |
+ |
+ Type |
+ Type details |
+
+
+
+ {% for obj in object_list %}
+
+ {{ obj.mail_address }} |
+ {{ obj.aliases|join:" , " }} |
+ {{ obj.type }} |
+ {{ obj.type_detail }} |
+
+ {% endfor %}
+
+ {% include "musician/components/table_paginator.html" %}
+
{% endblock %}
diff --git a/musician/views.py b/musician/views.py
index f794351..071f9ed 100644
--- a/musician/views.py
+++ b/musician/views.py
@@ -57,6 +57,7 @@ class ServiceListView(CustomContextMixin, ExtendedPaginationMixin, UserTokenRequ
class MailView(ServiceListView):
service_class = MailService
+ template_name = "musician/mail.html"
def get_queryset(self):
def retrieve_mailbox(value):
@@ -79,7 +80,7 @@ class MailView(ServiceListView):
data = thing
data['names'] = aliases
- addresses.append(self.service_class(data))
+ addresses.append(self.service_class.new_from_json(data))
return addresses