From 4d81a32530fa10ded10ae9abe12755f9d6d328ac Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Wed, 10 Apr 2024 16:05:25 +0200 Subject: fix for missing Date header --- src/jwebmail/templates/_main_table.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/jwebmail/templates') diff --git a/src/jwebmail/templates/_main_table.html b/src/jwebmail/templates/_main_table.html index 29e8eee..35fdeec 100644 --- a/src/jwebmail/templates/_main_table.html +++ b/src/jwebmail/templates/_main_table.html @@ -10,11 +10,18 @@
- {{ msg.head.sender.0.display_name or msg.head.sender.0.address or msg.head.from.0.display_name or msg.head.from.0.address }} + {{ msg.head.sender.0.display_name or + msg.head.sender.0.address or + msg.head.from.0.display_name or + msg.head.from.0.address }}
- {{ parse_iso_date(msg.head.date)|datetimeformat }} + {% if msg.head.date %} + {{ parse_iso_date(msg.head.date)|datetimeformat }} + {% else %} + {{ gettext("unknown") }} + {% endif %}
-- cgit v1.2.3