%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()">% if c.at_version in [None, 'latest']: % endif |
% if c.versions:
${_('latest')}
% else:
${_('initial')}
% endif
|
${c.pull_request_latest.source_ref_parts.commit_id[:6]}
|
${_('created')} ${h.age_component(c.pull_request_latest.updated_on)} | % if c.versions and c.at_version in [None, 'latest']: ${_('(Show all)')} % endif |
% if c.at_version == ver.pull_request_version_id: % endif | version ${ver.pull_request_version_id} |
${ver.source_ref_parts.commit_id[:6]}
|
${_('created')} ${h.age_component(ver.updated_on)} | % if c.at_version == ver.pull_request_version_id: ${_('(Show all)')} % endif |
Changed commits: * added: ${len(c.changes.added)} * removed: ${len(c.changes.removed)} % if not (c.file_changes.added+c.file_changes.modified+c.file_changes.removed): No file changes found % else: Changed files: %for file_name in c.file_changes.added: * A ${file_name} %endfor %for file_name in c.file_changes.modified: * M ${file_name} %endfor %for file_name in c.file_changes.removed: * R ${file_name} %endfor % endif% endif % else: ${_('Pull request versions not available')}. % endif