-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Move the captcha script loader to the template which really needs it #28718
Conversation
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.
I hope this won't break anything for somebody…
These scripts are for the "captcha" elements. Theoretically they are the same:
vs
Update: and ideally, it should make JS do the async import (in the future ...), and then no need to use |
* giteaofficial/main: [skip ci] Updated licenses and gitignores Move the captcha script loader to the template which really needs it (go-gitea#28718) Suggest to use Type=simple for systemd service (go-gitea#28717) Fix incorrect URL for "Reference in New Issue" (go-gitea#28716) Avoid unnecessary 500 panic when a commit doesn't exist (go-gitea#28719) [skip ci] Updated translations via Crowdin Improve frontend guideline (go-gitea#28711) Fix panic when parsing empty pgsql host (go-gitea#28708) Add merge arrow direction and update styling (go-gitea#28523)
…o-gitea#28718) It improves the maintainability for the templates. Now `base/footer.tmpl` doesn't need to depend on "captcha" feature.
…o-gitea#28718) It improves the maintainability for the templates. Now `base/footer.tmpl` doesn't need to depend on "captcha" feature.
It improves the maintainability for the templates.
Now
base/footer.tmpl
doesn't need to depend on "captcha" feature.