diff --git a/musician/templates/musician/mail_base.html b/musician/templates/musician/mail_base.html
index 1790e90..4d15891 100644
--- a/musician/templates/musician/mail_base.html
+++ b/musician/templates/musician/mail_base.html
@@ -3,7 +3,7 @@
{% block content %}
{% if active_domain %}
-
{{ service.verbose_name }}{% if active_domain %} {% trans "for"
@@ -13,11 +13,12 @@
{% with request.resolver_match.url_name as url_name %}
diff --git a/musician/templates/musician/mail_form.html b/musician/templates/musician/mail_form.html
index c6bb3ec..2f0aa07 100644
--- a/musician/templates/musician/mail_form.html
+++ b/musician/templates/musician/mail_form.html
@@ -8,7 +8,7 @@
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
- {% trans "Cancel" %}
+ {% trans "Cancel" %}
{% endbuttons %}
diff --git a/musician/templates/musician/mailboxes.html b/musician/templates/musician/mailboxes.html
index a9e0764..666c94b 100644
--- a/musician/templates/musician/mailboxes.html
+++ b/musician/templates/musician/mailboxes.html
@@ -25,7 +25,7 @@
{{ mailbox.filtering }} |
{% for addr in mailbox.addresses %}
-
+
{{ addr.data.name }}@{{ addr.data.domain.name }}
{% endfor %}
diff --git a/musician/urls.py b/musician/urls.py
index d699832..308bf06 100644
--- a/musician/urls.py
+++ b/musician/urls.py
@@ -16,14 +16,14 @@ urlpatterns = [
path('auth/logout/', views.LogoutView.as_view(), name='logout'),
path('dashboard/', views.DashboardView.as_view(), name='dashboard'),
path('domains//', views.DomainDetailView.as_view(), name='domain-detail'),
- path('bills/', views.BillingView.as_view(), name='billing'),
+ path('billing/', views.BillingView.as_view(), name='billing'),
path('bills//download/', views.BillDownloadView.as_view(), name='bill-download'),
path('profile/', views.ProfileView.as_view(), name='profile'),
- path('mails/', views.MailView.as_view(), name='mails'),
- path('mails/new/', views.MailCreateView.as_view(), name='mail-create'),
- path('mails//', views.MailUpdateView.as_view(), name='mail-update'),
- path('mailboxes/', views.MailboxesView.as_view(), name='mailboxes'),
+ path('address/', views.MailView.as_view(), name='address-list'),
+ path('address/new/', views.MailCreateView.as_view(), name='address-create'),
+ path('address//', views.MailUpdateView.as_view(), name='address-update'),
+ path('mailboxes/', views.MailboxesView.as_view(), name='mailbox-list'),
path('mailing-lists/', views.MailingListsView.as_view(), name='mailing-lists'),
- path('databases/', views.DatabasesView.as_view(), name='databases'),
- path('software-as-a-service/', views.SaasView.as_view(), name='saas'),
+ path('databases/', views.DatabasesView.as_view(), name='database-list'),
+ path('saas/', views.SaasView.as_view(), name='saas-list'),
]
diff --git a/musician/views.py b/musician/views.py
index 336f4ea..4e524ac 100644
--- a/musician/views.py
+++ b/musician/views.py
@@ -207,7 +207,7 @@ class MailCreateView(CustomContextMixin, UserTokenRequiredMixin, FormView):
service_class = Address
template_name = "musician/mail_form.html"
form_class = MailForm
- success_url = reverse_lazy("musician:mails")
+ success_url = reverse_lazy("musician:address-list")
extra_context = {'service': service_class}
def get_form_kwargs(self):
@@ -232,7 +232,7 @@ class MailUpdateView(CustomContextMixin, UserTokenRequiredMixin, FormView):
service_class = Address
template_name = "musician/mail_form.html"
form_class = MailForm
- success_url = reverse_lazy("musician:mails")
+ success_url = reverse_lazy("musician:address-list")
extra_context = {'service': service_class}
def get_form_kwargs(self):
|