]> source.dussan.org Git - gitea.git/commit
Add error info if no user can fork the repo (#25820)
authoryp05327 <576951401@qq.com>
Fri, 14 Jul 2023 07:56:20 +0000 (16:56 +0900)
committerGitHub <noreply@github.com>
Fri, 14 Jul 2023 07:56:20 +0000 (15:56 +0800)
commit52f46919dc8f4e67a6e24869841634a28b3426aa
tree1c6964dfacafd736ef9f51f6f93fdb3680b015e0
parent61c9268c56bce5da47bbf87c790c2694a593b763
Add error info if no user can fork the repo (#25820)

Before: (Owner list is empty)

![image](https://github.com/go-gitea/gitea/assets/18380374/dbe87bfe-14ed-4997-8cb2-5c1308232a70)

After: (Disable the button and show the error info)

![image](https://github.com/go-gitea/gitea/assets/18380374/a7e4c315-67ab-408b-88f2-c554076ce87a)
options/locale/locale_en-US.ini
routers/web/repo/pull.go