From 7d591baea5e5f5d8a1bdd75438ab4d331a585570 Mon Sep 17 00:00:00 2001 From: Son Date: Thu, 5 May 2022 14:57:32 +0200 Subject: [PATCH 1/2] handle case user doesn't have default domain for alias when user doesn't have default domain for alias, display "Not Selected" to avoid confusion --- templates/dashboard/setting.html | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/templates/dashboard/setting.html b/templates/dashboard/setting.html index 5eda0caa..7eeff817 100644 --- a/templates/dashboard/setting.html +++ b/templates/dashboard/setting.html @@ -274,12 +274,21 @@
@@ -565,7 +574,7 @@
+ {% if current_user.include_header_email_header %} checked {% endif %} class="form-check-input">
From f3b41279a9d3963bccfe658115fb746673d6e15e Mon Sep 17 00:00:00 2001 From: Son Date: Wed, 11 May 2022 19:09:51 +0200 Subject: [PATCH 2/2] simplify template --- templates/dashboard/setting.html | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/templates/dashboard/setting.html b/templates/dashboard/setting.html index 7eeff817..8e2d0ab2 100644 --- a/templates/dashboard/setting.html +++ b/templates/dashboard/setting.html @@ -275,20 +275,15 @@