1
0
Fork 0
forked from forgejo/forgejo

Fix the display of org level badges (#26504)

Follow #24654 #22705 #24232

In some pages we still have missing badges, for example:

![image](f57fae6d-95ad-4996-8881-160c9cd27768)

![image](11e86d43-b715-4d14-bdf0-51bf8b5c7b01)

![image](61c514e7-d8f6-4c93-a61f-60604619e3a7)
This commit is contained in:
yp05327 2023-09-06 15:38:14 +09:00 committed by GitHub
parent 31c92d9695
commit 0850be6750
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 3 additions and 7 deletions

View file

@ -30,7 +30,6 @@ func CodeSearch(ctx *context.Context) {
ctx.Data["IsPackageEnabled"] = setting.Packages.Enabled
ctx.Data["IsRepoIndexerEnabled"] = setting.Indexer.RepoIndexerEnabled
ctx.Data["Title"] = ctx.Tr("explore.code")
ctx.Data["ContextUser"] = ctx.ContextUser
language := ctx.FormTrim("l")
keyword := ctx.FormTrim("q")