summaryrefslogtreecommitdiff
path: root/templates/webmail
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2020-11-04 22:54:37 +0100
committerJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2020-11-04 22:54:37 +0100
commit69d77e8a05bec240f99a2045605876e6f6cd8aa3 (patch)
treee9b4b79c4a7af0ce75712c03df357763c5674803 /templates/webmail
parenta65c91f28529d0bd444334e6dfed37b173c7e649 (diff)
added back button in readmail; corrected generated html
Diffstat (limited to 'templates/webmail')
-rw-r--r--templates/webmail/readmail.html.ep8
1 files changed, 6 insertions, 2 deletions
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 @@
<div class=show-body>
% my $x = mime_render($_->{type}, $_->{val});
%== $x;
-% last if $x;
</div>
+% last if $x;
% }
% }
% elsif (ref $body eq 'HASH') {
@@ -49,4 +49,8 @@
</div>
% }
-</div> \ No newline at end of file
+<nav id=read-nav>
+ <a href="javascript:history.back()" class=btn> <%= l 'home' %> </a>
+</nav>
+
+</div>