<%inherit file="/base/base.html"/> <%namespace name="pullrequest_data" file="pullrequest_data.html"/> <%block name="title"> ${_('%s Pull Requests') % c.repo_name} <%def name="breadcrumbs_links()"> %if c.from_: ${_("Pull Requests from '%s'") % c.repo_name} %else: ${_("Pull Requests to '%s'") % c.repo_name} %endif <%block name="header_menu"> ${self.menu('repositories')} <%def name="main()"> ${self.repo_context_bar('showpullrequest')}
${self.breadcrumbs()}
%if c.closed: ${h.link_to(_('Hide closed pull requests (only show open pull requests)'), h.url('pullrequest_show_all',repo_name=c.repo_name,from_=c.from_))} %else: ${h.link_to(_('Show closed pull requests (in addition to open pull requests)'), h.url('pullrequest_show_all',repo_name=c.repo_name,from_=c.from_,closed=1))} %endif
${pullrequest_data.pullrequest_overview(c.pullrequests_pager)}