# HG changeset patch # User Mads Kiilerich # Date 1365456842 -7200 # Node ID 8854ddd51b48453ab14025e47c2e59a963bfe0fd # Parent dca89d578c7027ec06afeabfb1b50bd1678320a1 pullrequests: reorganize PR creation page - make it more like the view page diff -r dca89d578c70 -r 8854ddd51b48 rhodecode/templates/pullrequests/pullrequest.html --- a/rhodecode/templates/pullrequests/pullrequest.html Mon Apr 08 22:29:29 2013 +0200 +++ b/rhodecode/templates/pullrequests/pullrequest.html Mon Apr 08 23:34:02 2013 +0200 @@ -19,73 +19,15 @@
${self.breadcrumbs()}
- ${h.form(url('pullrequest', repo_name=c.repo_name), method='post', id='pull_request_form')} -
- ##ORG -
-
- - ${h.select('org_repo','',c.org_repos,class_='refs')}:${h.select('org_ref',c.default_org_ref,c.org_refs,class_='refs')} - -
${c.rhodecode_db_repo.description}
-
-
-
-
- -
- ##OTHER, most Probably the PARENT OF THIS FORK -
-
- - ${h.select('other_repo',c.default_other_repo,c.other_repos,class_='refs')}:${c.default_other_repo_info['revs']} - -
-
-
-
-
- ## overview pulled by ajax -
-
- ${_('Detailed compare view')} -
-
-
-

${_('Pull request reviewers')}

-
- ## members goes here ! -
-
    - %for member in [c.default_other_repo_info['user']]: -
  • -
    -
    gravatar
    -
    ${member['firstname']} ${member['lastname']} (${_('owner')})
    - - -
    -
  • - %endfor -
-
+ ${h.form(url('pullrequest', repo_name=c.repo_name), method='post', id='pull_request_form')} -
-
- ${h.text('user', class_='yui-ac-input')} - ${_('Add reviewer to this pull request.')} -
-
-
-
-

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

-
+
@@ -105,12 +47,90 @@
-
- ${h.submit('save',_('Send pull request'),class_="ui-btn large")} - ${h.reset('reset',_('Reset'),class_="ui-btn large")} +
+
+ +
+
+ ##ORG +
+
+ + ${h.select('org_repo','',c.org_repos,class_='refs')}:${h.select('org_ref',c.default_org_ref,c.org_refs,class_='refs')} + +
${c.rhodecode_db_repo.description}
+
+
+
+ +
+ + ##OTHER, most Probably the PARENT OF THIS FORK +
+
+ + ${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_="ui-btn large")} + ${h.reset('reset',_('Reset'),class_="ui-btn large")} +
+
+ +
+ + ## 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 +
+
+
+
+ ${h.end_form()}