You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates/user
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>
2 years ago
..
auth Remove incorrect HTML self close tag (#23748) 2 years ago
dashboard Fix wrong scopes of locale.PrettyNumber (#24181) 2 years ago
notification Merge template functions "dict/Dict/mergeinto" (#23932) 2 years ago
overview Add missing badges in user profile for /projects and /packages (#24232) 2 years ago
settings Limit avatar upload to valid image files (#24258) 2 years ago
code.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
heatmap.tmpl Localize activity heatmap (except tooltip) (#24131) 2 years ago
profile.tmpl Fix unclear "Owner" concept (#24233) 2 years ago
project.tmpl Add context cache as a request level cache (#22294) 2 years ago