%if c.show_closed: ${h.checkbox('show_closed',checked="checked", label=_('Show Closed Pull Requests'))} %else: ${h.checkbox('show_closed',label=_('Show Closed Pull Requests'))} %endif

${_('Pull Requests You Opened')}

%if c.my_pull_requests: %for pull_request in c.my_pull_requests:
${_('Pull request #%s opened on %s') % (pull_request.pull_request_id, h.format_date(pull_request.created_on))} %if pull_request.is_closed(): (${_('Closed')}) %endif
${h.secure_form(url('pullrequest_delete', repo_name=pull_request.target_repo.repo_name, pull_request_id=pull_request.pull_request_id),method='delete')} ${h.submit('remove_%s' % pull_request.pull_request_id, _('Delete'), class_="btn btn-link btn-danger",onclick="return confirm('"+_('Confirm to delete this pull request')+"');")} ${h.end_form()}
%endfor %else:

${_('You currently have no open pull requests.')}

%endif

${_('Pull Requests You Participate In')}

%if c.participate_in_pull_requests: %for pull_request in c.participate_in_pull_requests: %endfor %else:
  • ${_('There are currently no open pull requests requiring your participation.')}
  • %endif