<%inherit file="/base/base.html"/> <%def name="title()"> ${c.repo_name} ${_('New pull request')} <%def name="breadcrumbs_links()"> ${_('New pull request')} <%def name="page_nav()"> ${self.menu('repositories')} <%def name="main()"> ${self.repo_context_bar('showpullrequest')}
${self.breadcrumbs()}
${h.form(url('pullrequest', repo_name=c.repo_name), method='post', id='pull_request_form')}
${h.text('pullrequest_title', class_="large")}
${h.textarea('pullrequest_desc',size=30, style="height:100px")} ${_('Write a short description on this pull request')}
##ORG
${_('Origin repository')}: ${c.rhodecode_db_repo.description}
${h.select('org_repo','',c.org_repos,class_='refs')}:${h.select('org_ref',c.default_org_ref,c.org_refs,class_='refs')}
##OTHER, most Probably the PARENT OF THIS FORK
## filled with JS
${h.select('other_repo',c.default_other_repo,c.other_repos,class_='refs')}:${c.default_other_repo_info['revs']}
${h.submit('save',_('Send Pull Request'),class_="btn")} ${h.reset('reset',_('Reset'),class_="btn")}
## Reviewers
${_('Pull request reviewers')}
## members goes here !
    %for member in [c.default_other_repo_info['user']]:
  • gravatar
    ${member['firstname']} ${member['lastname']} (${_('owner')})
  • %endfor
${h.text('user', class_='yui-ac-input')} ${_('Add reviewer to this pull request.')}

${_('Changesets')}

## overview pulled by ajax
${_('Detailed compare view')}
${h.end_form()}