From b19dfc6ef44b1dc6849fa43e6834e32d4e4fb7ed Mon Sep 17 00:00:00 2001
From: Son NK <>
Date: Sun, 5 Apr 2020 19:42:30 +0200
Subject: [PATCH] Use forward/reply/blocked icon on alias page
---
app/dashboard/templates/dashboard/index.html | 25 +++++++++++++-------
1 file changed, 16 insertions(+), 9 deletions(-)
diff --git a/app/dashboard/templates/dashboard/index.html b/app/dashboard/templates/dashboard/index.html
index c2da158e..1120d867 100644
--- a/app/dashboard/templates/dashboard/index.html
+++ b/app/dashboard/templates/dashboard/index.html
@@ -98,6 +98,10 @@
Copy
{% endif %}
+ {% if alias_info.highlight %}
+ New
+ {% endif %}
+
@@ -134,11 +138,6 @@
-
- {% if alias_info.highlight %}
- - New
- {% endif %}
-
{% if alias_info.latest_email_log != None %}
@@ -146,19 +145,27 @@
{% set contact = alias_info.latest_contact %}
{% if email_log.is_reply %}
- Email sent/reply to {{ contact.website_email }}
+ {{ contact.website_email }}
+
{{ email_log.created_at | dt }}
{% elif email_log.bounced %}
- Email from {{ contact.website_email }} bounced
+
+ {{ contact.website_email }}
+
{{ email_log.created_at | dt }}
{% elif email_log.blocked %}
- Email from {{ contact.website_email }} blocked
+ {{ contact.website_email }}
+
{{ email_log.created_at | dt }}
{% else %}
- Email from {{ contact.website_email }}
+ {{ contact.website_email }}
+
{{ email_log.created_at | dt }}
{% endif %}
+ {% else %}
+ No Activity
{% endif %}