diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-03-13 21:34:03 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-03-13 21:34:03 +0100 |
commit | 8ee2d7149baa58ea225cb40e0f95030ee21f1081 (patch) | |
tree | 11d2bd52f36d3d566f9abcb30654b9bd78e56422 /templates | |
parent | 6441b5ad6657873fcd8f3695515fa6ef3bc4e6f5 (diff) |
Split up Helper plugin and added Views instead
Diffstat (limited to 'templates')
-rw-r--r-- | templates/displayheaders/_folders.html.ep | 2 | ||||
-rw-r--r-- | templates/displayheaders/_main_table.html.ep | 4 | ||||
-rw-r--r-- | templates/not_found.production.html.ep (renamed from templates/not_found_.html.ep) | 0 | ||||
-rw-r--r-- | templates/webmail/readmail.html.ep | 2 |
4 files changed, 4 insertions, 4 deletions
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 @@ <p class="pure-u-1-1 pure-u-md-1-2"> <%= 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 %> </p> </div> 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 @@ --> <div class="pure-u-1 pure-u-md-4-24"> - % 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}"; </div> @@ -98,7 +98,7 @@ </td> <td class="hide-small" style="text-align: right; white-space: nowrap"> - %= print_sizes10 $msg->{byte_size}; + %= $v->print_sizes10($msg->{byte_size}); </td> <td> diff --git a/templates/not_found_.html.ep b/templates/not_found.production.html.ep index b96e46e..b96e46e 100644 --- a/templates/not_found_.html.ep +++ b/templates/not_found.production.html.ep diff --git a/templates/webmail/readmail.html.ep b/templates/webmail/readmail.html.ep index 5bdc27e..529bbe6 100644 --- a/templates/webmail/readmail.html.ep +++ b/templates/webmail/readmail.html.ep @@ -5,7 +5,7 @@ <h1>Read Mail</h1> -%= $c->render_mail->format_mail($msg) +%= $v->format_mail($msg) <nav> <a href="javascript:history.back()" class="pure-button"> |