#3773 Fix the button to open new pull-request on the branches page
Merged 6 years ago by pingou. Opened 6 years ago by pingou.

@@ -124,9 +124,9 @@ 

          repo=repo.name,

          username=repo.user.user if repo.is_fork else None,

          namespace=repo.namespace,

-         branch_to='',

-         branch_from='') }}";

-       url = url.slice(0, -2) + nb_target + '..' + branch

+         branch_to='.',

+         branch_from='.') }}";

+       url = url.slice(0, -4) + nb_target + '..' + branch

  

        {% if repo.is_fork %}

        html2 = ' \

rebased onto 8eceda13915e3c62cad2d15232bae0ff89d53555

6 years ago

rebased onto abeec3a

6 years ago

The one failing test is due to #3774 and fix is on its way, so let's merge for now :)

Pull-Request has been merged by pingou

6 years ago