From 6258ef0c1111a79123026a0f4898d5a642f77980 Mon Sep 17 00:00:00 2001
From: Son NK <>
Date: Sun, 5 Apr 2020 12:02:08 +0200
Subject: [PATCH] Only display website_email instead of website_from in contact
manager, alias log and refused emails
---
app/dashboard/templates/dashboard/alias_contact_manager.html | 2 +-
app/dashboard/templates/dashboard/alias_log.html | 4 ++--
app/dashboard/templates/dashboard/refused_email.html | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/dashboard/templates/dashboard/alias_contact_manager.html b/app/dashboard/templates/dashboard/alias_contact_manager.html
index e14a4339..afbac27c 100644
--- a/app/dashboard/templates/dashboard/alias_contact_manager.html
+++ b/app/dashboard/templates/dashboard/alias_contact_manager.html
@@ -66,7 +66,7 @@
diff --git a/app/dashboard/templates/dashboard/alias_log.html b/app/dashboard/templates/dashboard/alias_log.html
index 201128f4..5cd8bfb4 100644
--- a/app/dashboard/templates/dashboard/alias_log.html
+++ b/app/dashboard/templates/dashboard/alias_log.html
@@ -111,13 +111,13 @@
{% if log.bounced %}
-
{{ log.website_from or log.website_email }}
+
{{ log.website_email }}
{{ log.alias }}
{{ log.mailbox }}
{% else %}
-
{{ log.website_from or log.website_email }}
+
{{ log.website_email }}
{% if log.is_reply %}
diff --git a/app/dashboard/templates/dashboard/refused_email.html b/app/dashboard/templates/dashboard/refused_email.html
index a630a3fa..f4073877 100644
--- a/app/dashboard/templates/dashboard/refused_email.html
+++ b/app/dashboard/templates/dashboard/refused_email.html
@@ -38,7 +38,7 @@
Sent {{ refused_email.created_at | dt }}
- From: {{ forward.website_from or forward.website_email }}
+ From: {{ forward.website_email }}
To: {{ alias.email }}