githaven/routers/web/org
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
..
home.go Fix unclear "Owner" concept (#24233) 2023-04-20 19:33:30 +02:00
main_test.go Support org/user level projects (#22235) 2023-01-20 19:42:33 +08:00
members.go Add missing badges in user profile for /projects and /packages (#24232) 2023-04-22 21:32:40 -04:00
org_labels.go Add loading yaml label template files (#22976) 2023-03-02 01:44:23 +02:00
org_runners.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
org.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
projects_test.go Support org/user level projects (#22235) 2023-01-20 19:42:33 +08:00
projects.go Add unset default project column (#23531) 2023-04-19 10:28:28 -04:00
setting_oauth2.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
setting_packages.go Add Cargo package registry (#21888) 2023-02-05 18:12:31 +08:00
setting_secrets.go Add user secrets (#22191) 2023-02-01 20:53:04 +08:00
setting.go Make label templates have consistent behavior and priority (#23749) 2023-04-10 16:44:02 +08:00
teams.go Add missing badges in user profile for /projects and /packages (#24232) 2023-04-22 21:32:40 -04:00