diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-02-27 15:30:42 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-02-27 15:30:42 +0100 |
commit | d32477f82bca6042ddccd6bbce1cc804927a89a9 (patch) | |
tree | 0f5d399ff552407d55b407b13f9bc2988c97bfa3 /templates/headers/_display_headers.html.ep | |
parent | eddd009cd885093cb79e085c3499bdd52882e8b8 (diff) |
Separate name space for pagination
Diffstat (limited to 'templates/headers/_display_headers.html.ep')
-rw-r--r-- | templates/headers/_display_headers.html.ep | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/headers/_display_headers.html.ep b/templates/headers/_display_headers.html.ep index 4dd36a1..ad60fc6 100644 --- a/templates/headers/_display_headers.html.ep +++ b/templates/headers/_display_headers.html.ep @@ -63,8 +63,8 @@ </thead> <tbody> - % foreach my $msgnum ($first_item .. $last_item) { - % my $msg = $msgs->[$msgnum - $first_item]; + % foreach my $msgnum ($pgn->{first_item} .. $pgn->{last_item}) { + % my $msg = $msgs->[$msgnum - $pgn->{first_item}]; %= tag tr => (class => $msg->{unread} ? 'new-mail' : '') => (id => $msg->{message_handle}) => begin <td class="hide-small"> |