## -*- coding: utf-8 -*- <%def name="pullrequest_overview(pullrequests)"> %if not len(pullrequests):
${_('No entries')}
<% return %> %endif
% for pr in pullrequests: % endfor
${_('Title')} ${_('Author')} ${_('Date')} ${_('From')} ${_('To')}
%if pr.last_review_status: %else: %endif ${pr.title or _("(no title)")} %if pr.is_closed(): ${_('Closed')} %endif ${pr.author.username_and_name} ${h.fmt_date(pr.created_on)} <% org_ref_name=pr.org_ref.rsplit(':', 2)[-2] %> ${pr.org_repo.repo_name}#${org_ref_name} <% other_ref_name=pr.other_ref.rsplit(':', 2)[-2] %> ${pr.other_repo.repo_name}#${other_ref_name}
%if pager in pullrequests:
${pullrequests.pager('$link_previous ~2~ $link_next', **request.GET.mixed())}
%endif ${pullrequest_overview(c.pullrequests_pager)}