diff rhodecode/templates/pullrequests/pullrequest.html @ 3023:c2a206162062 beta

Basic implementation of cherry picking changesets for pull request, ref #575
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 24 Nov 2012 00:29:38 +0100
parents 0b86972de820
children 685ebc84c2e9
line wrap: on
line diff
--- a/rhodecode/templates/pullrequests/pullrequest.html	Fri Nov 23 23:01:27 2012 +0100
+++ b/rhodecode/templates/pullrequests/pullrequest.html	Sat Nov 24 00:29:38 2012 +0100
@@ -21,7 +21,9 @@
     </div>
     ${h.form(url('pullrequest', repo_name=c.repo_name), method='post', id='pull_request_form')}
     <div style="float:left;padding:0px 30px 30px 30px">
-
+        <input type="hidden" name="rev_start" value="${request.GET.get('rev_start')}" />
+        <input type="hidden" name="rev_end" value="${request.GET.get('rev_end')}" />
+        
         ##ORG
         <div style="float:left">
             <div class="fork_user">
@@ -141,7 +143,9 @@
     	                 org_ref_type='org_ref_type', org_ref='org_ref',
                          other_ref_type='other_ref_type', other_ref='other_ref',
                          repo='other_repo',
-                         as_form=True, bundle=False)}";
+                         as_form=True, bundle=False,
+                         rev_start=request.GET.get('rev_start',''),
+                         rev_end=request.GET.get('rev_end',''))}";
 
       var select_refs = YUQ('#pull_request_form select.refs')
       var rev_data = {}; // gather the org/other ref and repo here