summaryrefslogtreecommitdiff
path: root/templates/headers
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2021-08-31 20:23:03 +0200
committerJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2021-08-31 20:23:03 +0200
commite1bafc13858b5c72a7584c52d3d9d6d597d39e6b (patch)
treeb7135f6c08ab43a97ab2e5fce896b470461829bd /templates/headers
parent1e1eabaac06721ee0d686d10a6effa9a3450a1ca (diff)
restructured ipc format
Diffstat (limited to 'templates/headers')
-rw-r--r--templates/headers/_display_headers.html.ep6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/headers/_display_headers.html.ep b/templates/headers/_display_headers.html.ep
index da04873..d3f9457 100644
--- a/templates/headers/_display_headers.html.ep
+++ b/templates/headers/_display_headers.html.ep
@@ -71,14 +71,14 @@
%= ucfirst($msg->{is_multipart} ? l('yes') : l('no'));
</td>
<td>
- % my $date = parse_iso_date $msg->{date_received};
+ % my $date = parse_iso_date $msg->{head}{date};
%= join('/', $date->{mday}, $date->{month}, $date->{year}) . " $date->{hour}:$date->{min}";
</td>
<td>
- %= $msg->{from}->[0]->{name} || $msg->{from}->[0]->{email};
+ %= $msg->{head}{from}[0]{name} || $msg->{head}{from}[0]{email};
</td>
<td>
- <a href="<%= url_for('read', id => $msg->{mid}) %>"> <%= $msg->{subject} || '_' %> </a>
+ <a href="<%= url_for('read', id => $msg->{mid}) %>"> <%= $msg->{head}{subject} || '_' %> </a>
</td>
<td>
%= print_sizes10 $msg->{size};