From 69d77e8a05bec240f99a2045605876e6f6cd8aa3 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Wed, 4 Nov 2020 22:54:37 +0100 Subject: added back button in readmail; corrected generated html --- templates/layouts/mainlayout.html.ep | 2 +- templates/webmail/readmail.html.ep | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/layouts/mainlayout.html.ep b/templates/layouts/mainlayout.html.ep index e084578..782bcdd 100644 --- a/templates/layouts/mainlayout.html.ep +++ b/templates/layouts/mainlayout.html.ep @@ -1,8 +1,8 @@ - + <%= stash('title') || 'JWebmail' %> diff --git a/templates/webmail/readmail.html.ep b/templates/webmail/readmail.html.ep index f537d96..79dbff7 100644 --- a/templates/webmail/readmail.html.ep +++ b/templates/webmail/readmail.html.ep @@ -32,8 +32,8 @@
% my $x = mime_render($_->{type}, $_->{val}); %== $x; -% last if $x;
+% last if $x; % } % } % elsif (ref $body eq 'HASH') { @@ -49,4 +49,8 @@ % } - \ No newline at end of file + + + -- cgit v1.2.3