From b73ed6ebd3cca86de065549cfb0d109a1d0461c5 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Wed, 10 Apr 2024 19:05:10 +0200 Subject: split js files and do local time conversion --- src/jwebmail/templates/_main_table.html | 7 +++++-- src/jwebmail/templates/displayheaders.html | 8 +++++++- src/jwebmail/templates/readmail.html | 5 +++++ 3 files changed, 17 insertions(+), 3 deletions(-) (limited to 'src/jwebmail/templates') diff --git a/src/jwebmail/templates/_main_table.html b/src/jwebmail/templates/_main_table.html index 35fdeec..700d77c 100644 --- a/src/jwebmail/templates/_main_table.html +++ b/src/jwebmail/templates/_main_table.html @@ -18,7 +18,9 @@
{% if msg.head.date %} - {{ parse_iso_date(msg.head.date)|datetimeformat }} + {% else %} {{ gettext("unknown") }} {% endif %} @@ -37,7 +39,8 @@
- +
diff --git a/src/jwebmail/templates/displayheaders.html b/src/jwebmail/templates/displayheaders.html index 7125a12..36a1f68 100644 --- a/src/jwebmail/templates/displayheaders.html +++ b/src/jwebmail/templates/displayheaders.html @@ -1,7 +1,13 @@ {% extends 'mainlayout.html' %} {% block scripts %} - + + + {% endblock %} diff --git a/src/jwebmail/templates/readmail.html b/src/jwebmail/templates/readmail.html index f41197a..75b0b13 100644 --- a/src/jwebmail/templates/readmail.html +++ b/src/jwebmail/templates/readmail.html @@ -1,5 +1,10 @@ {% extends 'mainlayout.html' %} +{% block scripts %} + +{% endblock %} + {% block content %}
-- cgit v1.2.3