Changeset - f4ff3b5bfc42
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 13 years ago 2012-08-11 17:19:08
marcin@python-works.com
fixed selecting quick compare view for tags/bookmarks in pull-request form
2 files changed with 6 insertions and 4 deletions:
0 comments (0 inline, 0 general)
rhodecode/config/routing.py
Show inline comments
 
@@ -435,8 +435,10 @@ def make_map(config):
 
                 '/{repo_name:.*?}/compare/{org_ref_type}@{org_ref}...{other_ref_type}@{other_ref}',
 
                 controller='compare', action='index',
 
                 conditions=dict(function=check_repo),
 
                 requirements=dict(org_ref_type='(branch|book|tag|rev)',
 
                                   other_ref_type='(branch|book|tag|rev)'))
 
                 requirements=dict(
 
                            org_ref_type='(branch|book|tag|rev|org_ref_type)',
 
                            other_ref_type='(branch|book|tag|rev|other_ref_type)')
 
                 )
 

	
 
    rmap.connect('pullrequest_home',
 
                 '/{repo_name:.*?}/pull-request/new', controller='pullrequests',
rhodecode/templates/pullrequests/pullrequest.html
Show inline comments
 
@@ -139,8 +139,8 @@
 
	  YUD.setStyle(YUD.get('pull_request_overview_url').parentElement,'display','none');
 
      var url = "${h.url('compare_url',
 
          repo_name='org_repo',
 
          org_ref_type='branch', org_ref='org_ref',
 
          other_ref_type='branch', other_ref='other_ref',
 
    	                 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)}";
 

	
0 comments (0 inline, 0 general)