diff --git a/rhodecode/templates/pullrequests/pullrequest.html b/rhodecode/templates/pullrequests/pullrequest.html new file mode 100644 --- /dev/null +++ b/rhodecode/templates/pullrequests/pullrequest.html @@ -0,0 +1,192 @@ +<%inherit file="/base/base.html"/> + +<%def name="title()"> + ${c.repo_name} ${_('New pull request')} + + +<%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))} + » + ${_('New pull request')} + + +<%def name="main()"> + +
+ +
+ ${self.breadcrumbs()} +
+ ${h.form(url('pullrequest', repo_name=c.repo_name), method='post', id='pull_request_form')} +
+
+ + + ${_('Refresh')} + ${_('refresh overview')} + + +
+ ##ORG +
+
+
+ gravatar +
+ + ${h.select('org_repo','',c.org_repos,class_='refs')}:${h.select('org_ref','',c.org_refs,class_='refs')} + +
${c.rhodecode_db_repo.description}
+
+
+
+
+ +
+ + ##OTHER, most Probably the PARENT OF THIS FORK +
+
+
+ gravatar +
+ + ${h.select('other_repo',c.default_pull_request ,c.other_repos,class_='refs')}:${h.select('other_ref','',c.other_refs,class_='refs')} + +
${c.rhodecode_db_repo.description}
+
+
+
+
+ ## overview pulled by ajax +
+
+ ${_('Detailed compare view')} +
+
+
+

${_('Pull request reviewers')}

+
+ ##TODO: make this nicer :) + + + + +
+
+
+
${_('Chosen reviewers')}
+ ${h.select('review_members',[x[0] for x in c.review_members],c.review_members,multiple=True,size=8,style="min-width:210px")} +
+ ${_('Remove all elements')} + remove +
+
+
+ add +
+ remove +
+
+
${_('Available reviewers')}
+ ${h.select('available_members',[],c.available_members,multiple=True,size=8,style="min-width:210px")} +
+ add + ${_('Add all elements')} +
+
+
+
+
+
+

${_('Create new pull request')}

+ +
+ + +
+ +
+
+ +
+
+ ${h.text('pullrequest_title',size=30)} +
+
+ +
+
+ +
+
+ ${h.textarea('pullrequest_desc',size=30)} +
+
+ +
+ ${h.submit('save',_('Send pull request'),class_="ui-button")} + ${h.reset('reset',_('Reset'),class_="ui-button")} +
+
+
+ ${h.end_form()} + +
+ + + +