aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/pagination.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-10-04 16:15:18 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-10-04 16:15:18 +0100
commitc358aa2beeb4637d190a91def6c7a4b23d162b51 (patch)
tree6019e1e9c362dd71dc6731e200ae7f6fc6fb20df /templates/web/base/pagination.html
parent96bb52d449517b1018841e56e6008dedd03e6f3b (diff)
parenta123e7da22e9dbf8d98d15287526d070ab15bf15 (diff)
Merge branch 'test-warnings'
Diffstat (limited to 'templates/web/base/pagination.html')
-rw-r--r--templates/web/base/pagination.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/pagination.html b/templates/web/base/pagination.html
index 7ae3559ce..3b7bdc0b2 100644
--- a/templates/web/base/pagination.html
+++ b/templates/web/base/pagination.html
@@ -8,7 +8,7 @@
[% 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' %]
+ [% ELSIF page == 'around' AND num_old_reports > 0 AND NOT show_old_reports %]
<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>