changeset 5048:b13a1062ea9c

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.
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Tue, 21 Apr 2015 09:05:24 +0200
parents 99f090563f5f
children 5c8c77b7ca56
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	Mon Apr 20 17:02:42 2015 +0200
+++ b/kallithea/templates/pullrequests/pullrequest_data.html	Tue Apr 21 09:05:24 2015 +0200
@@ -82,7 +82,7 @@
   </table>
 </div>
 
-%if pullrequests.pager:
+%if hasattr(pullrequests, 'pager'):
 <div class="notification-paginator">
   <div class="pagination-wh pagination-left">
   ${pullrequests.pager('$link_previous ~2~ $link_next', **request.GET.mixed())}