changeset 5049:7aef2c2289c8 stable

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 bd4f453a0055
children 74b5e0318d4e
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 21:33:26 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())}