diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-02-26 21:36:27 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-02-26 21:36:27 +0100 |
commit | 2abf462ca10c4ac8c4f815e608cad31851e966e3 (patch) | |
tree | ed18c4a4039a5972edc0b81ed79c9d57480f8e70 /templates/headers/_display_folders.html.ep | |
parent | d0ffe11bd365b68d4da252b39d06d99f75d8cacb (diff) |
Specified the interface for qmauth
Changes to configuration
Added qmauth version written in Python
Slight changes to pagination
Diffstat (limited to 'templates/headers/_display_folders.html.ep')
-rw-r--r-- | templates/headers/_display_folders.html.ep | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/headers/_display_folders.html.ep b/templates/headers/_display_folders.html.ep index 856844d..7f1612f 100644 --- a/templates/headers/_display_folders.html.ep +++ b/templates/headers/_display_folders.html.ep @@ -8,10 +8,10 @@ </strong> <ul class="pure-menu-list"> -% for my $v (grep {$_ ne $folder} @$mail_folders) { +% for (grep {$_ ne $folder} @$mail_folders) { <li class="pure-menu-item"> - %= link_to '' => {folder => $v} => (class => 'bright') => begin - %= l($v || '_mailbox_root') + %= link_to '' => {folder => $_} => (class => 'bright') => begin + %= l($_ || '_mailbox_root') % end </li> % } @@ -21,7 +21,7 @@ </div> <p class="pure-u-1-1 pure-u-md-1-2"> - <%= l('[_1] of [_2] messages', $last_item - $first_item + 1, $total_items) %>\ + <%= l('[_1] of [_2] messages', $this_page->[1] - $this_page->[0], $total_items) %>\ <%= l(', [_1] new', $total_new_mails) if $total_new_mails > 0 =%> <%= l(' - mailbox size: [_1]', print_sizes10 $total_size) if $total_size %> </p> |