From fb42797ab793e52428fa092fb370998c55e166e4 Mon Sep 17 00:00:00 2001 From: kaiyou Date: Fri, 10 Nov 2017 15:00:51 +0100 Subject: [PATCH] Use SITENAME and WEBSITE properly in the admin ui --- core/admin/mailu/__init__.py | 1 + core/admin/mailu/ui/templates/base.html | 2 +- core/admin/mailu/ui/templates/sidebar.html | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/core/admin/mailu/__init__.py b/core/admin/mailu/__init__.py index 51a25c96..c5733325 100644 --- a/core/admin/mailu/__init__.py +++ b/core/admin/mailu/__init__.py @@ -48,6 +48,7 @@ default_config = { 'SITENAME': 'Mailu', 'WEBSITE': 'https://mailu.io', 'WEB_ADMIN': '/admin', + 'WEB_WEBMAIL': '/webmail', # Advanced settings 'PASSWORD_SCHEME': 'SHA512-CRYPT', } diff --git a/core/admin/mailu/ui/templates/base.html b/core/admin/mailu/ui/templates/base.html index 0aa380c8..03e7f1b7 100644 --- a/core/admin/mailu/ui/templates/base.html +++ b/core/admin/mailu/ui/templates/base.html @@ -29,7 +29,7 @@ class="hold-transition skin-blue sidebar-mini" {% block navbar %}