From 8ee2d7149baa58ea225cb40e0f95030ee21f1081 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Mon, 13 Mar 2023 21:34:03 +0100 Subject: Split up Helper plugin and added Views instead --- templates/displayheaders/_folders.html.ep | 2 +- templates/displayheaders/_main_table.html.ep | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/displayheaders') diff --git a/templates/displayheaders/_folders.html.ep b/templates/displayheaders/_folders.html.ep index be5bdd9..b341768 100644 --- a/templates/displayheaders/_folders.html.ep +++ b/templates/displayheaders/_folders.html.ep @@ -23,7 +23,7 @@

<%= l('[_1] of [_2] messages', $pgn->{this_page}[1] - $pgn->{this_page}[0], $pgn->{total_items}) %>\ <%= l(', [_1] new', $total_new_mails) if $total_new_mails > 0 =%> - <%= l(' - mailbox size: [_1]', print_sizes10 $total_size) if $total_size %> + <%= l(' - mailbox size: [_1]', $v->print_sizes10($total_size)) if $total_size %>

diff --git a/templates/displayheaders/_main_table.html.ep b/templates/displayheaders/_main_table.html.ep index 5430c15..06bbbfc 100644 --- a/templates/displayheaders/_main_table.html.ep +++ b/templates/displayheaders/_main_table.html.ep @@ -81,7 +81,7 @@ -->
- % my $date = parse_iso_date $msg->{head}{date}; + % my $date = $v->parse_iso_date($msg->{head}{date}); %= join('/', $date->{mday}, $date->{month}, $date->{year}) . " $date->{hour}:$date->{min}";
@@ -98,7 +98,7 @@ - %= print_sizes10 $msg->{byte_size}; + %= $v->print_sizes10($msg->{byte_size}); -- cgit v1.2.3