# HG changeset patch # User Mads Kiilerich # Date 2013-07-02 00:37:01 # Node ID 27f498ee6db0e4a0d7e63e065fdcb55ad5bd5baa # Parent 5fdad98e5b2eafe196ac28d0fb69410b1cfa47c1 pull requests: PR from changelog should not use tip but explicit revision or tip branch name diff --git a/kallithea/templates/changelog/changelog.html b/kallithea/templates/changelog/changelog.html --- a/kallithea/templates/changelog/changelog.html +++ b/kallithea/templates/changelog/changelog.html @@ -55,7 +55,8 @@ ${self.repo_context_bar('changelog', c.f href="${h.url('compare_url',repo_name=c.db_repo.fork.repo_name,org_ref_type=c.db_repo.landing_rev[0],org_ref=c.db_repo.landing_rev[1],other_repo=c.repo_name,other_ref_type='branch' if request.GET.get('branch') else c.db_repo.landing_rev[0],other_ref=request.GET.get('branch') or c.db_repo.landing_rev[1], merge=1)}" class="btn btn-mini"> ${_('Compare fork with parent repo (%s)' % c.db_repo.fork.repo_name)} %endif - ${_('Open new pull request')} + ## text and href of open_new_pr is controlled from javascript + ${h.form(h.url.current(),method='get')} @@ -161,10 +162,9 @@ ${self.repo_context_bar('changelog', c.f