diff options
Diffstat (limited to 'templates/headers/_pagination1.html.ep')
-rw-r--r-- | templates/headers/_pagination1.html.ep | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/headers/_pagination1.html.ep b/templates/headers/_pagination1.html.ep index 0e000f9..798f79f 100644 --- a/templates/headers/_pagination1.html.ep +++ b/templates/headers/_pagination1.html.ep @@ -1,7 +1,7 @@ <div> - <a href="<%= url_with->query({start => $prev_page->[0]}) %>"> ← </a> - <a href="<%= url_with->query({start => $first_page->[0]}) %>"> ↞ </a> - [<%= l('page [_1] of [_2]', $current_page+1, $total_pages) %>] - <a href="<%= url_with->query({start => $last_page->[0]}) %>"> ↠ </a> - <a href="<%= url_with->query({start => $next_page->[0]}) %>"> → </a> + <a href="<%= url_with->query({start => $pgn->{prev_page}[0]}) %>"> ← </a> + <a href="<%= url_with->query({start => $pgn->{first_page}[0]}) %>"> ↞ </a> + [<%= l('page [_1] of [_2]', $pgn->{current_page}+1, $pgn->{total_pages}) %>] + <a href="<%= url_with->query({start => $pgn->{last_page}[0]}) %>"> ↠ </a> + <a href="<%= url_with->query({start => $pgn->{next_page}[0]}) %>"> → </a> </div> |