-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add error info if no user can fork the repo #25820
Add error info if no user can fork the repo #25820
Conversation
"This repository can not be forked" would sound better. Can we also give some hint on the reason why it can not be done? |
Co-authored-by: silverwind <[email protected]>
Co-authored-by: silverwind <[email protected]>
@silverwind |
Looks good, but could also be made a single translation string I guess as I'm not sure whether |
Updated. 😄 |
Thanks, this is definitely the best option to go about such translations 😉. |
* giteaofficial/main: Fix incorrect release count (go-gitea#25879) Add Github related extensions in devcontainer (go-gitea#25800) Add error info if no user can fork the repo (go-gitea#25820) Fix wrong usage of PathEscapeSegments in branch list page (go-gitea#25864) fix incorrect repo url when changed the case of ownername (go-gitea#25733) Upgrade go dependencies (go-gitea#25819) Don't stack PR tab menu on small screens (go-gitea#25789) Link to list of vulnerabilities (go-gitea#25872) [skip ci] Updated translations via Crowdin move issue filters to shared template (go-gitea#25729) [skip ci] Updated translations via Crowdin Remove `git.FileBlame` (go-gitea#25841) Fix empty project displayed in issue sidebar (go-gitea#25802) Update blog links (go-gitea#25843) Fix margin on the `new/edit milestone` page (go-gitea#25801) Do not "guess" the file encoding/BOM when using API to upload files (go-gitea#25828)
ctx.Data["Flash"] = ctx.Flash | ||
ctx.Flash.Error(msg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would break the "Flash" framework, it should be ctx.Flash.Error(msg, true)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-> Fix "Flash" message usage #25895
Before: (Owner list is empty)
After: (Disable the button and show the error info)