Mercurial > kallithea
changeset 5045:bd4f453a0055 stable
pullrequest overview: fix missing pager links
Commit 0f9a48e0adc3 refactored the pullrequest overview pages, but has a
bug causing no more than 10 pull requests to be shown, without pager links.
The code assumed that 'pager' was a variable, rather than a method, of the
pullrequests structure.
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Mon, 20 Apr 2015 21:33:26 +0200 |
parents | 991308f49979 |
children | 7e5a0c784880 7aef2c2289c8 |
files | kallithea/templates/pullrequests/pullrequest_data.html |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/pullrequests/pullrequest_data.html Thu Apr 16 14:14:59 2015 -0400 +++ b/kallithea/templates/pullrequests/pullrequest_data.html Mon Apr 20 21:33:26 2015 +0200 @@ -82,7 +82,7 @@ </table> </div> -%if pager in pullrequests: +%if pullrequests.pager: <div class="notification-paginator"> <div class="pagination-wh pagination-left"> ${pullrequests.pager('$link_previous ~2~ $link_next', **request.GET.mixed())}