forgejo/routers/web
Jakob 136d7492ff
Add missing badges in user profile for /projects and /packages (#24232)
- Implement fix for user and organization page
- Add necessary ctx.Data

When switching tabs on `user profile page` the badges are shown for
`/gitea_user?tab=stars`, `/gitea_user?tab=activity` and missing under
`gitea_user/-/projects` and `gitea_user/-/packages`

This was added for users and organizations.

Before:

![image](https://user-images.githubusercontent.com/72307968/233338877-f795fae3-b65a-4ea1-8784-dd2b0cd6618f.png)
After:

![image](https://user-images.githubusercontent.com/72307968/233339012-90adb6c4-4de2-432e-ae49-69611eb7aec3.png)

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-04-22 21:32:40 -04:00
..
admin
auth
devtest
events
explore
feed
healthcheck
misc
org Add missing badges in user profile for /projects and /packages (#24232) 2023-04-22 21:32:40 -04:00
repo Refactor setting.Other and remove unused SHOW_FOOTER_BRANDING (#24270) 2023-04-22 19:38:25 -04:00
shared
user Fix unclear "Owner" concept (#24233) 2023-04-20 19:33:30 +02:00
auth.go
auth_windows.go
base.go Improve Wiki TOC (#24137) 2023-04-17 15:05:19 -04:00
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Refactor setting.Other and remove unused SHOW_FOOTER_BRANDING (#24270) 2023-04-22 19:38:25 -04:00
webfinger.go