-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Fix the display of org level badges #26504
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delvh
reviewed
Aug 15, 2023
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.
Aren't there quite a few more manual instances?
routers/web/user/code.go
33: ctx.Data["ContextUser"] = ctx.ContextUser
routers/web/user/home.go
59: ctx.Data["ContextUser"] = ctxUser
routers/web/user/setting/profile.go
334: ctx.Data["ContextUser"] = ctxUser
routers/web/repo/migrate.go
67: ctx.Data["ContextUser"] = ctxUser
169: ctx.Data["ContextUser"] = ctxUser
routers/web/repo/repo.go
166: ctx.Data["ContextUser"] = ctxUser
233: ctx.Data["ContextUser"] = ctxUser
routers/web/repo/pull.go
174: ctx.Data["ContextUser"] = ctx.Doer
176: ctx.Data["ContextUser"] = orgs[0]
222: ctx.Data["ContextUser"] = ctxUser
routers/web/repo/packages.go
61: ctx.Data["ContextUser"] = ctx.ContextUser
routers/web/shared/user/header.go
25: ctx.Data["ContextUser"] = ctx.ContextUser
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.
the list you given is related to userAssignment
maybe we should also need this in userAssignment 🤔
silverwind
approved these changes
Aug 30, 2023
lunny
approved these changes
Sep 6, 2023
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Sep 7, 2023
* giteaofficial/main: Fix schedule actions still running even if workflow disalbed (go-gitea#26939) Fix the missing repo count (go-gitea#26942) Improve SSH Key / GPG Key / Deploy Key UI (go-gitea#26949) [skip ci] Updated translations via Crowdin Update nginx recommendations (go-gitea#26924) docs: Update Profile README information (go-gitea#26947) Fix scoped label layout (go-gitea#26932) Move createrepository from module to service layer (go-gitea#26927) Add a documentation note for Windows Service (go-gitea#26938) allow "latest" to be used in release vTag when downloading file (go-gitea#26748) Extract common code to new template (go-gitea#26933) Show always repo count in header (go-gitea#26842) Show always repo count in header (go-gitea#26842) Artifacts retention and auto clean up (go-gitea#26131) Fix UI anomalies (go-gitea#26929) Fix the display of org level badges (go-gitea#26504)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow #24654 #22705 #24232
In some pages we still have missing badges, for example:


