# HG changeset patch # User Thomas De Schampheleire # Date 2015-04-21 09:05:24 # Node ID 7aef2c2289c8a1ee450d7f8624e731d7c89d99d3 # Parent bd4f453a00553ed0ea3016596621106293acbf7d pullrequest overview: fix 'my pullrequests' overview Commit bd4f453a0055 fixed the pager links on pullrequest overviews, but broke the 'my pull requests' page due to insufficient testing and incomplete Python understanding. diff --git a/kallithea/templates/pullrequests/pullrequest_data.html b/kallithea/templates/pullrequests/pullrequest_data.html --- a/kallithea/templates/pullrequests/pullrequest_data.html +++ b/kallithea/templates/pullrequests/pullrequest_data.html @@ -82,7 +82,7 @@ -%if pullrequests.pager: +%if hasattr(pullrequests, 'pager'):
${pullrequests.pager('$link_previous ~2~ $link_next', **request.GET.mixed())}