%inherit file="/base/base.html"/> <%def name="title()"> ${_('%s Pull Request #%s') % (c.repo_name, c.pull_request.pull_request_id)} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif %def> <%def name="breadcrumbs_links()"> ${c.pull_request.title} %if c.pull_request.is_closed(): (${_('Closed')}) %endif
%def> <%def name="menu_bar_nav()"> ${self.menu_items(active='repositories')} %def> <%def name="menu_bar_subnav()"> ${self.repo_menu(active='showpullrequest')} %def> <%def name="main()">
${h.fancy_file_stats(stats)}
|
|||
%if c.target_repo.repo_name == c.repo_name: ${diff_block.diff_menu(c.repo_name, h.safe_unicode(path), c.target_ref, c.source_ref, change)} %else: ## this is slightly different case later, since the other repo can have this ## file in other state than the origin repo ${diff_block.diff_menu(c.target_repo.repo_name, h.safe_unicode(path), c.target_ref, c.source_ref, change)} %endif |
${_('Show comments')}
${_('Hide comments')}
|
||
${diff_block.diff_block_simple([c.changes[FID]])} | |||
${_('Outdated Inline Comments')}: |
|||
% for line, comments in c.outdated_comments[path].iteritems():
% for co in comments:
${comment.comment_block_outdated(co)}
% endfor
% endfor
|
|||
${path} | |||
(${_('Removed')}) | |||
${_('Outdated Inline Comments')}: |
|||
% for line, comments in c.outdated_comments[path].iteritems():
% for co in comments:
${comment.comment_block_outdated(co)}
% endfor
% endfor
|
${_('Commit was too big and was cut off...')} ${_('Show full diff')}
% endif ## 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(include_pull_request=True, is_pull_request=True)} % 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.pull_request_review_status, is_pull_request=True, change_status=c.allowed_to_change_status)} %endif