aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/pagination.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/pagination.html')
-rw-r--r--templates/web/base/pagination.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/web/base/pagination.html b/templates/web/base/pagination.html
index 7c13ec9cb..7ae3559ce 100644
--- a/templates/web/base/pagination.html
+++ b/templates/web/base/pagination.html
@@ -8,6 +8,8 @@
[% IF pager.next_page %]
<a class="next" href="[% c.uri_with({ $param => pager.next_page, ajax => undefined }) %][% '#' _ hash IF hash %]">[% loc('Next') %]</a>
+ [% ELSIF num_old_reports > 0 AND NOT show_old_reports AND page == 'around' %]
+ <a class="next show_old" href="[% c.uri_with({ $param => pager.current_page, show_old_reports = 1, ajax => undefined }) %][% '#' _ hash IF hash %]">[% loc('Show older') %]</a>
[% END %]
</p>
[% END %]