]> source.dussan.org Git - gitea.git/commit
Fix incorrect redirection when creating a PR fails (#29537)
authorwxiaoguang <wxiaoguang@gmail.com>
Sat, 2 Mar 2024 12:45:14 +0000 (20:45 +0800)
committerGitHub <noreply@github.com>
Sat, 2 Mar 2024 12:45:14 +0000 (12:45 +0000)
commite650f64d812f5ebeb4a11d2ec20f2376c6d963bc
treeed16e2e8a68b50ef03e6e1c6e8d17a64861c8dc8
parentc0c2cb933bc59c5c9b2558c9bf53b495504f35f3
Fix incorrect redirection when creating a PR fails (#29537)

This is only a quick fix to make it easier to backport.

After this PR gets merged, I will propose a new PR to fix the FIXME.

<details>

![image](https://github.com/go-gitea/gitea/assets/2114189/98d1d5c4-2e79-4a75-80e9-76fd898986e0)

</details>
options/locale/locale_en-US.ini
routers/web/repo/pull.go
templates/repo/diff/compare.tmpl
templates/repo/issue/new.tmpl
templates/repo/issue/new_form.tmpl