Changeset - bd4f453a0055
[Not reviewed]
stable
0 1 0
Thomas De Schampheleire - 11 years ago 2015-04-20 21:33:26
thomas.de.schampheleire@gmail.com
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.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/pullrequests/pullrequest_data.html
Show inline comments
 
@@ -73,23 +73,23 @@
 
      </td>
 
      <td>
 
        <% other_ref_name=pr.other_ref.rsplit(':', 2)[-2] %>
 
        <a href="${h.url('summary_home', repo_name=pr.other_repo.repo_name, anchor=other_ref_name)}">
 
          ${pr.other_repo.repo_name}#${other_ref_name}
 
        </a>
 
      </td>
 
    </tr>
 
% endfor
 
  </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())}
 
  </div>
 
</div>
 
%endif
 

	
 
</%def>
 

	
 
${pullrequest_overview(c.pullrequests_pager)}
0 comments (0 inline, 0 general)