<%inherit file="/base/base.html"/> <%def name="title()"> ${c.repo_name} ${_('Pull request #%s') % c.pull_request.pull_request_id} <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » ${h.link_to(c.repo_name,h.url('changelog_home',repo_name=c.repo_name))} » ${_('Pull request #%s') % c.pull_request.pull_request_id} <%def name="main()">
${self.breadcrumbs()}
%if c.pull_request.is_closed():
${_('Closed %s') % (h.age(c.pull_request.updated_on))}
%endif

${_('Title')}: ${c.pull_request.title}
%if c.current_changeset_status:
[${h.changeset_status_lbl(c.current_changeset_status)}]
%endif

${h.literal(c.pull_request.description)}
${_('Created on')}: ${h.fmt_date(c.pull_request.created_on)}
## REVIEWERS
${_('Pull request reviewers')}
    %for user,status in c.pull_request_reviewers:
  • gravatar
    ${user.username}
  • %endfor
##DIFF
${_('Compare view')}
##CS
${_('Incoming changesets')}
<%include file="/compare/compare_cs.html" /> ## FILES
${_('Files affected')}
%for fid, change, f, stat in c.files:
${h.link_to(h.safe_unicode(f),h.url.current(anchor=fid))}
${h.fancy_file_stats(stat)}
%endfor
## diff block <%namespace name="diff_block" file="/changeset/diff_block.html"/> %for fid, change, f, stat in c.files: ${diff_block.diff_block_simple([c.changes[fid]])} %endfor ## template for inline comment form <%namespace name="comment" file="/changeset/changeset_file_comment.html"/> ${comment.comment_inline_form()} ## render comments and inlines ${comment.generate_comments()} % if not c.pull_request.is_closed(): ## main comment form and it status ${comment.comments(h.url('pullrequest_comment', repo_name=c.repo_name, pull_request_id=c.pull_request.pull_request_id), c.current_changeset_status, close_btn=True)} %endif